diff options
author | Thomas Misilo <misilot@fit.edu> | 2013-09-28 15:40:48 +0400 |
---|---|---|
committer | Thomas Misilo <misilot@fit.edu> | 2013-09-28 15:40:48 +0400 |
commit | b688bac9b6ca02571ed9fb3149e5b3bb6052c9fb (patch) | |
tree | 96137c174ce20f7571393d9be3aac58eef347b8f | |
parent | 06903b0396572ce0971a9fa5ad0bd2d0c9bf3715 (diff) |
Updated at the request of @f0k
-rw-r--r-- | config/unicorn.rb.example | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example index 502727fdfe4..e4e13426831 100644 --- a/config/unicorn.rb.example +++ b/config/unicorn.rb.example @@ -8,7 +8,13 @@ # See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete # documentation. -# Uncomment and customize the next line to run in a non-root path +# Uncomment and customize the last line to run in a non-root path +# WARNING: This feature is known to work, but unsupported +# Note that three 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" +# # ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" # Use at least one worker per core if you're on a dedicated server, |