summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/unicorn.rb.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example
index 5c933df073a..502727fdfe4 100644
--- a/config/unicorn.rb.example
+++ b/config/unicorn.rb.example
@@ -8,6 +8,9 @@
# See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete
# documentation.
+# Uncomment and customize the next line to run in a non-root path
+# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
+
# Use at least one worker per core if you're on a dedicated server,
# more will usually help for _short_ waits on databases/caches.
worker_processes 2