diff options
author | Michael Härtl <haertl.mike@gmail.com> | 2013-05-08 10:09:23 +0400 |
---|---|---|
committer | Michael Härtl <haertl.mike@gmail.com> | 2013-05-08 10:09:23 +0400 |
commit | 28ef0fe751e48f51dad0874771305a253dcf06b3 (patch) | |
tree | cfd69e458b75e509b2995ab292103abb46646538 /config/puma.rb.example | |
parent | de7680b137658a72bf3e767b2edfca7edf4adba1 (diff) |
Fixes #3793: Puma configuration for relative base URL
Diffstat (limited to 'config/puma.rb.example')
-rw-r--r-- | config/puma.rb.example | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/puma.rb.example b/config/puma.rb.example index e166992b8c2..b1562215c1d 100644 --- a/config/puma.rb.example +++ b/config/puma.rb.example @@ -3,6 +3,10 @@ # Start Puma with next command: # RAILS_ENV=production bundle exec puma -e production -C ./config/puma.rb +# uncomment and customize to run in non-root path +# note that config/gitlab.yml web path should also be changed +# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" + application_path = '/home/git/gitlab' # The directory to operate out of. |