Commit d41fba4d authored by Marin Jankovski's avatar Marin Jankovski

Add warning to gitlab.yml related to gzip assets and relative links.

parent 69577b57
...@@ -31,6 +31,7 @@ production: &base ...@@ -31,6 +31,7 @@ production: &base
# 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'] = "/gitlab" # 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
# 4) In ../gitlab-shell/config.yml: gitlab_url: "http://127.0.0.1/gitlab" # 4) In ../gitlab-shell/config.yml: gitlab_url: "http://127.0.0.1/gitlab"
# 5) In lib/support/nginx/gitlab : do not use asset gzipping, remove block starting with "location ~ ^/(assets)/"
# To update the path, run: sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production # To update the path, run: sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
# #
# relative_url_root: /gitlab # relative_url_root: /gitlab
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment