From d41fba4d374c5b586a25b755d79a410574f09062 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Tue, 13 May 2014 17:08:59 +0200 Subject: [PATCH] Add warning to gitlab.yml related to gzip assets and relative links. --- config/gitlab.yml.example | 1 + 1 file changed, 1 insertion(+) diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index 3774910cf96..b6ec80c4c08 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -31,6 +31,7 @@ production: &base # 2) In your gitlab.yml file: 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" + # 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 # # relative_url_root: /gitlab