summaryrefslogtreecommitdiff
path: root/config/gitlab.yml.example
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytse@dosire.com>2013-08-19 22:20:32 +0200
committerSytse Sijbrandij <sytse@dosire.com>2013-08-19 22:20:32 +0200
commit63009af1176c114029827679c3eb632ad5edca26 (patch)
treedbc47b8113f617a6f5c6f4aaf9b74591092a1873 /config/gitlab.yml.example
parent7c55c73d6318004242b192c7c6ce17cc57e45760 (diff)
downloadgitlab-ce-63009af1176c114029827679c3eb632ad5edca26.tar.gz
Relative root needs to be changed in three places.
Diffstat (limited to 'config/gitlab.yml.example')
-rw-r--r--config/gitlab.yml.example8
1 files changed, 6 insertions, 2 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 61a6f0be0b3..59a4d1fd41b 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -19,9 +19,13 @@ production: &base
port: 80
https: false
- # Uncomment and customize to run in non-root path
+ # Uncomment and customize the last line to run in a non-root path
# WARNING: This feature is no longer supported
- # Note that ENV['RAILS_RELATIVE_URL_ROOT'] in your application server may need to be changed
+ # Note that three settings need to be changed for this to work.
+ # 1) In your application.rb file: config.relative_url_root = "/gitlab"
+ # 2) In your gitlab.yml file: relative_url_root: /gitlab
+ # 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT']
+ #
# relative_url_root: /gitlab
# Uncomment and customize if you can't use the default user to run GitLab (default: 'git')