summaryrefslogtreecommitdiff
path: root/config/unicorn.rb.example
diff options
context:
space:
mode:
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