调整gitlab登录地址
1 修改gitlab配置文件/etc/gitlab/gitlab.rb,修改external_url访问路径
external_url 'http://localhost:8800'
2 更新gitlab配置
$ gitlab-ctl reconfigure
$ gitlab-ctl restart
3 nginx配置 修改nginx配置文件/etc/nginx/conf.d/default.conf,新增location
$ cat gitlab.conf
server {
...
...
location / {
proxy_pass http://localhost:8800;
}
...
...
}