Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Härtl <haertl.mike@gmail.com>2013-05-08 10:09:23 +0400
committerMichael Härtl <haertl.mike@gmail.com>2013-05-08 10:09:23 +0400
commit28ef0fe751e48f51dad0874771305a253dcf06b3 (patch)
treecfd69e458b75e509b2995ab292103abb46646538 /config/puma.rb.example
parentde7680b137658a72bf3e767b2edfca7edf4adba1 (diff)
Fixes #3793: Puma configuration for relative base URL
Diffstat (limited to 'config/puma.rb.example')
-rw-r--r--config/puma.rb.example4
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.