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:
authorSytse Sijbrandij <sytse@dosire.com>2013-08-20 00:20:32 +0400
committerSytse Sijbrandij <sytse@dosire.com>2013-08-20 00:20:32 +0400
commit63009af1176c114029827679c3eb632ad5edca26 (patch)
treedbc47b8113f617a6f5c6f4aaf9b74591092a1873 /config/application.rb
parent7c55c73d6318004242b192c7c6ce17cc57e45760 (diff)
Relative root needs to be changed in three places.
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index d86fe561fa9..f7349fa009b 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -67,5 +67,14 @@ module Gitlab
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
+
+ # Uncomment and customize the last line to run in a non-root path
+ # WARNING: This feature is no longer supported
+ # 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']
+ #
+ # config.relative_url_root = "/gitlab"
end
end