修改gitlab端口

打开/etc/gitlab/gitlab.rb文件,修改以下几点:

external_url 'http://localhost:9999'
unicorn['listen'] = '127.0.0.1'
 unicorn['port'] = 9999

然后

#gitlab-ctl stop
#gitlab-ctl reconfugure
#gitlab-ctl start

如此,访问localhost:9999即可

猜你喜欢

转载自www.cnblogs.com/xiehuazhen/p/9553924.html