Commit e99701fbfa6d5a2d4abd9cc1321a3575c86c85ea
1 parent
b688bac9
Exists in
master
and in
4 other branches
Changed wording in application.rb and gitlab.yml.example to match unicorn.rb. Th…
…is is for when using a non-root path
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
config/application.rb
@@ -70,11 +70,11 @@ module Gitlab | @@ -70,11 +70,11 @@ module Gitlab | ||
70 | config.assets.version = '1.0' | 70 | config.assets.version = '1.0' |
71 | 71 | ||
72 | # Uncomment and customize the last line to run in a non-root path | 72 | # Uncomment and customize the last line to run in a non-root path |
73 | - # WARNING: This feature is no longer supported | 73 | + # WARNING: This feature is known to work, but unsupported |
74 | # Note that three settings need to be changed for this to work. | 74 | # Note that three settings need to be changed for this to work. |
75 | # 1) In your application.rb file: config.relative_url_root = "/gitlab" | 75 | # 1) In your application.rb file: config.relative_url_root = "/gitlab" |
76 | # 2) In your gitlab.yml file: relative_url_root: /gitlab | 76 | # 2) In your gitlab.yml file: relative_url_root: /gitlab |
77 | - # 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] | 77 | + # 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" |
78 | # | 78 | # |
79 | # config.relative_url_root = "/gitlab" | 79 | # config.relative_url_root = "/gitlab" |
80 | end | 80 | end |
config/gitlab.yml.example
@@ -20,11 +20,11 @@ production: &base | @@ -20,11 +20,11 @@ production: &base | ||
20 | https: false | 20 | https: false |
21 | 21 | ||
22 | # Uncomment and customize the last line to run in a non-root path | 22 | # Uncomment and customize the last line to run in a non-root path |
23 | - # WARNING: This feature is no longer supported | 23 | + # WARNING: This feature is known to work, but unsupported |
24 | # Note that three settings need to be changed for this to work. | 24 | # Note that three settings need to be changed for this to work. |
25 | # 1) In your application.rb file: config.relative_url_root = "/gitlab" | 25 | # 1) In your application.rb file: config.relative_url_root = "/gitlab" |
26 | # 2) In your gitlab.yml file: relative_url_root: /gitlab | 26 | # 2) In your gitlab.yml file: relative_url_root: /gitlab |
27 | - # 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] | 27 | + # 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" |
28 | # | 28 | # |
29 | # relative_url_root: /gitlab | 29 | # relative_url_root: /gitlab |
30 | 30 |