配置gitlab 服务器默认端口

修改 /etc/gitlab/gitlab.rb 文件

 

######去掉注释 修改 端口号################

#nginx['listen_port'] = nil

# override only if you use a reverse proxy:

#https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#setting-the-nginx-listen-port

 

###############刷新配置文件#################

gitlab-ctl reconfigure

转载于:https://my.oschina.net/dreamVip/blog/1518111

你可能感兴趣的:(配置gitlab 服务器默认端口)