1默认情况 unicorn 占用8080 nginx占用80 如果端口被占用会出现502
-----------------
--------修改端口
1
vim /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml
2
vim /var/opt/gitlab/nginx/conf/gitlab-http.conf
3 vim /etc/gitlab/gitlab.rb 修改external_url
4 gitlab-ctl reconfigure
5 在浏览器输入 gitlab.test.com:666