summaryrefslogtreecommitdiff
path: root/config/unicorn.rb.example
diff options
context:
space:
mode:
authorChris Frohoff <chris@frohoff.org>2012-12-28 18:11:28 +0000
committerChris Frohoff <chris@frohoff.org>2012-12-28 18:11:28 +0000
commit21e55ca318bb829399c85b10e678b596d6fd414e (patch)
treed3029235bcc15ef06a9489df40b79b280be1397f /config/unicorn.rb.example
parente9394c48ca7aacd9d151519c1da51d18a21b351b (diff)
downloadgitlab-ce-21e55ca318bb829399c85b10e678b596d6fd414e.tar.gz
added RAILS_RELATIVE_URL_ROOT support
Diffstat (limited to 'config/unicorn.rb.example')
-rw-r--r--config/unicorn.rb.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example
index 425dbf33f86..4852cd65daa 100644
--- a/config/unicorn.rb.example
+++ b/config/unicorn.rb.example
@@ -1,3 +1,7 @@
+# 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"
+
app_dir = "/home/gitlab/gitlab/"
worker_processes 2
working_directory app_dir