修改gitlab仓库http下载链接
2021-04-29 本文已影响0人
Terry_Qian
- 进入gitlab-ce容器
vim /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml
gitlab:
## Web server settings (note: host is the FQDN, do not include http://)
host: 123.456.789.10
port: 1080
https: false
time_zone: "Asia/Shanghai"
ssh_host: 123.456.789.10
ssh_port: 1022
- 重启服务:
gitlab-ctl restart
- 等待2min