Document relative url support
-
Omnibus omnibus-gitlab!590 (merged)
Source
Workhorse:
-
in /etc/default/gitlab
if the default init system is used -
in gitlab-recipes if other init is used (ie. systemd) -
In application.rb
set:config.relative_url_root = "/gitlab"
-
In gitlab.yml
set:relative_url_root: /gitlab
-
In unicorn.rb
set:ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
-
In ../gitlab-shell/config.yml
set:gitlab_url: "http://127.0.0.1/gitlab"
-
Remove the 5th step in application.rb
and link to docs once ready.
QA
Test with both NGINX/Apache:
-
git push/pull https -
git push/pull ssh -
Download zip/gz files -
CI/Runner is functional