Commit 383e24be38d01ddd73018763e6df7453c4bb35b5
1 parent
5efca807
Exists in
master
and in
11 other branches
Correct the Nginx root for gzipped assets
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb
... | ... | @@ -84,7 +84,7 @@ server { |
84 | 84 | # See config/application.rb under "Relative url support" for the list of |
85 | 85 | # other files that need to be changed for relative url support |
86 | 86 | location ~ ^/(assets)/ { |
87 | - root /home/git/gitlab/public; | |
87 | + root /opt/gitlab/embedded/service/gitlab-rails/public; | |
88 | 88 | gzip_static on; # to serve pre-gzipped version |
89 | 89 | expires max; |
90 | 90 | add_header Cache-Control public; | ... | ... |