I have a problem, that nginx is saying that :80 port is already in use by gitlab.
By editing /etc/gitlab/gitlab.rb I've changed
external_url 'http://git.host.com:81'
And it's not working.
Tried to change /opt/gitlab/embedded/conf/nginx.conf port to 81 - same problem.
After each action I executed
gitlab-ctl reconfigure && gitlab-ctl restart
What I`m doing wrong? How to change gitlab port to another one?
First,
sudo -e /etc/gitlab/gitlab.rb
Then, change external_url from example.com to example.com:81.
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With