[root@xiaowangc ~]# vi /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml ... production: &base # # 1. GitLab app settings # ========================== ## GitLab settings gitlab: ## Web server settings (note: host is the FQDN, do not include http://) host: gitlab.local.com port: 80 https: false
[root@xiaowangc ~]# vi /etc/gitlab/gitlab.rb external_url 'http://gitlab.local.com'