Commit af970c33 authored by James Ramsay's avatar James Ramsay

Remove dig in favour of curl to determine public ip

parent 41360fa0
...@@ -173,7 +173,7 @@ will not be able to perform all necessary configuration steps. Refer to ...@@ -173,7 +173,7 @@ will not be able to perform all necessary configuration steps. Refer to
ip route get 1 | awk '{print $NF; exit}' ip route get 1 | awk '{print $NF; exit}'
# Secondary public IP address # Secondary public IP address
dig +short myip.opendns.com @resolver1.opendns.com curl ipinfo.io/ip
``` ```
Edit `/etc/gitlab/gitlab.rb` and add the following, replacing the secondary Edit `/etc/gitlab/gitlab.rb` and add the following, replacing the secondary
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment