gitlab 把或名改成IP

[root@GitLab assets]# cat /etc/gitlab/gitlab.rb # Change the external_url to the address your users will type in their browser
#external_url 'http://gitlab.example.com'
external_url 'http://192.168.1.103'

把或名改成IP

[root@GitLab assets]# gitlab-ctl reconfigure
问题解决!!!
原文地址:https://www.cnblogs.com/bass6/p/5925920.html