From 636ec6d3a048957b5cb348d7ff1b0b5bc6973bbf Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Tue, 13 May 2014 17:59:08 +0200 Subject: Update warnings about relative url support. --- config/unicorn.rb.example | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'config/unicorn.rb.example') diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example index ba5e5cdde0b..f6c0f09b51d 100644 --- a/config/unicorn.rb.example +++ b/config/unicorn.rb.example @@ -8,14 +8,8 @@ # See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete # documentation. -# Uncomment and customize the last line to run in a non-root path -# WARNING: We recommend creating a FQDN to host GitLab in a root path instead of this. -# Note that four settings need to be changed for this to work. -# 1) In your application.rb file: config.relative_url_root = "/gitlab" -# 2) In your gitlab.yml file: relative_url_root: /gitlab -# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" -# 4) In ../gitlab-shell/config.yml: gitlab_url: "http://127.0.0.1/gitlab" -# To update the path, run: sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production +# WARNING: See config/application.rb under "Relative url support" for the list of +# other files that need to be changed for relative url support # # ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" -- cgit v1.2.3