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:
authorChris Frohoff <chris@frohoff.org>2012-12-28 22:11:28 +0400
committerChris Frohoff <chris@frohoff.org>2012-12-28 22:11:28 +0400
commit21e55ca318bb829399c85b10e678b596d6fd414e (patch)
treed3029235bcc15ef06a9489df40b79b280be1397f /config/unicorn.rb.example
parente9394c48ca7aacd9d151519c1da51d18a21b351b (diff)
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