[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
问题解决!!!