diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example
index 5c933df073a6875d68771de464e0364b08e3bb75..502727fdfe4773135c9720cbdd249e1cfe2dd00b 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