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 | 70 | config.assets.version = '1.0' |
71 | 71 | |
72 | 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 | 74 | # Note that three settings need to be changed for this to work. |
75 | 75 | # 1) In your application.rb file: config.relative_url_root = "/gitlab" |
76 | 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 | 79 | # config.relative_url_root = "/gitlab" |
80 | 80 | end | ... | ... |
config/gitlab.yml.example
... | ... | @@ -20,11 +20,11 @@ production: &base |
20 | 20 | https: false |
21 | 21 | |
22 | 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 | 24 | # Note that three settings need to be changed for this to work. |
25 | 25 | # 1) In your application.rb file: config.relative_url_root = "/gitlab" |
26 | 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 | 29 | # relative_url_root: /gitlab |
30 | 30 | ... | ... |