Commit 28ef0fe751e48f51dad0874771305a253dcf06b3

Authored by Michael Härtl
1 parent de7680b1

Fixes #3793: 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.