Skip to content
代码片段 群组 项目
提交 e99701fb 编辑于 作者: Thomas Misilo's avatar Thomas Misilo
浏览文件

Changed wording in application.rb and gitlab.yml.example to match unicorn.rb....

Changed wording in application.rb and gitlab.yml.example to match unicorn.rb. This is for when using a non-root path
上级 b688bac9
No related branches found
No related tags found
无相关合并请求
...@@ -70,11 +70,11 @@ class Application < Rails::Application ...@@ -70,11 +70,11 @@ class Application < Rails::Application
config.assets.version = '1.0' config.assets.version = '1.0'
# Uncomment and customize the last line to run in a non-root path # Uncomment and customize the last line to run in a non-root path
# WARNING: This feature is no longer supported # WARNING: This feature is known to work, but unsupported
# Note that three settings need to be changed for this to work. # Note that three settings need to be changed for this to work.
# 1) In your application.rb file: config.relative_url_root = "/gitlab" # 1) In your application.rb file: config.relative_url_root = "/gitlab"
# 2) In your gitlab.yml file: relative_url_root: /gitlab # 2) In your gitlab.yml file: relative_url_root: /gitlab
# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] # 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
# #
# config.relative_url_root = "/gitlab" # config.relative_url_root = "/gitlab"
end end
......
...@@ -20,11 +20,11 @@ production: &base ...@@ -20,11 +20,11 @@ production: &base
https: false https: false
# Uncomment and customize the last line to run in a non-root path # Uncomment and customize the last line to run in a non-root path
# WARNING: This feature is no longer supported # WARNING: This feature is known to work, but unsupported
# Note that three settings need to be changed for this to work. # Note that three settings need to be changed for this to work.
# 1) In your application.rb file: config.relative_url_root = "/gitlab" # 1) In your application.rb file: config.relative_url_root = "/gitlab"
# 2) In your gitlab.yml file: relative_url_root: /gitlab # 2) In your gitlab.yml file: relative_url_root: /gitlab
# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] # 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
# #
# relative_url_root: /gitlab # relative_url_root: /gitlab
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册