diff --git a/config/application.rb b/config/application.rb index 82e74e7250d16f4b495f607482e6c42f20e87291..0dd632d04bb160e252bf5b18ca2396faeea75553 100644 --- a/config/application.rb +++ b/config/application.rb @@ -70,7 +70,7 @@ module Gitlab config.assets.version = '1.0' # Uncomment and customize the last line to run in a non-root path - # WARNING: This feature is known to work, but unsupported + # WARNING: We recommend creating a FQDN to host GitLab in a root path. # 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 diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index 6b527cf0212de651568ef9392adf85686035ce5b..0688fafafe260a0575245010b73a850467569b3e 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -20,7 +20,7 @@ production: &base https: false # Uncomment and customize the last line to run in a non-root path - # WARNING: This feature is known to work, but unsupported + # We recommend creating a FQDN to host GitLab in a root path. # 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 diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example index e4e1342683187a6f2a2b30b56aa7d50a0cb2c304..445de22be08d0b213163254671e796d47fb19559 100644 --- a/config/unicorn.rb.example +++ b/config/unicorn.rb.example @@ -9,7 +9,7 @@ # documentation. # Uncomment and customize the last line to run in a non-root path -# WARNING: This feature is known to work, but unsupported +# We recommend creating a FQDN to host GitLab in a root path. # 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