1.修改 /etc/gitlab/gitlab.rb 


 nginx['listen_port'] = 82   #默认值即80端口   nginx['listen_port'] = nil


 unicorn['port'] = 9091  #原值unicorn['port'] = 8080


2. 注意不要用8082,9090 端口,因为自带工具会用到


3. gitlab-ctl reconfigure


4. gitlab-ctl restart



原文链接:https://blog.csdn.net/ssseeelll/article/details/80012875