Configure the relative path only one time.

This commit is contained in:
Sytse Sijbrandij 2013-08-19 21:49:27 +02:00
parent 4250c34915
commit 6ec73fc9a6
2 changed files with 3 additions and 7 deletions

View file

@ -67,9 +67,5 @@ module Gitlab
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
# Uncomment this if you are using a subdirectory
# Note that ENV['RAILS_RELATIVE_URL_ROOT'] in config/puma.rb may need to be changed
# config.relative_url_root = "/gitlab"
end
end

View file

@ -18,10 +18,10 @@ production: &base
host: localhost
port: 80
https: false
# WARNING: This feature is no longer supported
# Uncomment and customize to run in non-root path
# Note that ENV['RAILS_RELATIVE_URL_ROOT'] in config/puma.rb may need to be changed
# You need to uncomment config.relative_url_root in config/application.rb
# WARNING: This feature is no longer supported
# Note that ENV['RAILS_RELATIVE_URL_ROOT'] in your application server may need to be changed
# relative_url_root: /gitlab
# Uncomment and customize if you can't use the default user to run GitLab (default: 'git')