安装

https://cloud.tencent.com/document/product/213/47332

安装完成后默认端口是8080

修改步骤

查看配置
/etc/gitlab/gitlab.rb

vim /var/opt/gitlab/nginx/conf/gitlab-http.conf 

#修改后重启
gitlab-ctl reconfigure //重载配置

gitlab-ctl restart