Commit 4604b67bda32b8bbffdfb4802ad9f768db32b92f
Exists in
master
and in
4 other branches
Merge pull request #3877 from mikehaertl/3793-puma-relative-url
Puma configuration for relative base URL
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
config/puma.rb.example
@@ -3,6 +3,10 @@ | @@ -3,6 +3,10 @@ | ||
3 | # Start Puma with next command: | 3 | # Start Puma with next command: |
4 | # RAILS_ENV=production bundle exec puma -e production -C ./config/puma.rb | 4 | # RAILS_ENV=production bundle exec puma -e production -C ./config/puma.rb |
5 | 5 | ||
6 | +# uncomment and customize to run in non-root path | ||
7 | +# note that config/gitlab.yml web path should also be changed | ||
8 | +# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" | ||
9 | + | ||
6 | application_path = '/home/git/gitlab' | 10 | application_path = '/home/git/gitlab' |
7 | 11 | ||
8 | # The directory to operate out of. | 12 | # The directory to operate out of. |