gitlab修改端口
·
1、修改配置文件
#vim /etc/gitlab/gitlab.rb
external_url "http://ip(或域名):port"
nginx['listen_port'] = port
2、重新启动
重置配置
#gitlab-ctl reconfigure
重启gitlab服务
#gitlab-ctl restart
更多推荐
#vim /etc/gitlab/gitlab.rb
external_url "http://ip(或域名):port"
nginx['listen_port'] = port
重置配置
#gitlab-ctl reconfigure
重启gitlab服务
#gitlab-ctl restart
更多推荐
所有评论(0)