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

 

posted @ 2016-10-01 15:54  bass  阅读(855)  评论(0编辑  收藏  举报