Commit d41fba4d374c5b586a25b755d79a410574f09062
1 parent
69577b57
Exists in
spb-stable
and in
2 other branches
Add warning to gitlab.yml related to gzip assets and relative links.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
config/gitlab.yml.example
| ... | ... | @@ -31,6 +31,7 @@ production: &base |
| 31 | 31 | # 2) In your gitlab.yml file: relative_url_root: /gitlab |
| 32 | 32 | # 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab" |
| 33 | 33 | # 4) In ../gitlab-shell/config.yml: gitlab_url: "http://127.0.0.1/gitlab" |
| 34 | + # 5) In lib/support/nginx/gitlab : do not use asset gzipping, remove block starting with "location ~ ^/(assets)/" | |
| 34 | 35 | # To update the path, run: sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production |
| 35 | 36 | # |
| 36 | 37 | # relative_url_root: /gitlab | ... | ... |