1)登陆搭建gitlab的服务器
cd /opt/gitlab/embedded/service/gitlab-rails/config
vim gitlab.yml
2) gitlab-ctl restart