Commit b688bac9b6ca02571ed9fb3149e5b3bb6052c9fb

Authored by Thomas Misilo
1 parent 06903b03

Updated at the request of @f0k

Showing 1 changed file with 7 additions and 1 deletions   Show diff stats
config/unicorn.rb.example
... ... @@ -8,7 +8,13 @@
8 8 # See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete
9 9 # documentation.
10 10  
11   -# Uncomment and customize the next line to run in a non-root path
  11 +# Uncomment and customize the last line to run in a non-root path
  12 +# WARNING: This feature is known to work, but unsupported
  13 +# Note that three settings need to be changed for this to work.
  14 +# 1) In your application.rb file: config.relative_url_root = "/gitlab"
  15 +# 2) In your gitlab.yml file: relative_url_root: /gitlab
  16 +# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
  17 +#
12 18 # ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
13 19  
14 20 # Use at least one worker per core if you're on a dedicated server,
... ...