Commit 383e24be38d01ddd73018763e6df7453c4bb35b5

Authored by Jacob Vosmaer
1 parent 5efca807

Correct the Nginx root for gzipped assets

files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb
@@ -84,7 +84,7 @@ server { @@ -84,7 +84,7 @@ server {
84 # See config/application.rb under "Relative url support" for the list of 84 # See config/application.rb under "Relative url support" for the list of
85 # other files that need to be changed for relative url support 85 # other files that need to be changed for relative url support
86 location ~ ^/(assets)/ { 86 location ~ ^/(assets)/ {
87 - root /home/git/gitlab/public; 87 + root /opt/gitlab/embedded/service/gitlab-rails/public;
88 gzip_static on; # to serve pre-gzipped version 88 gzip_static on; # to serve pre-gzipped version
89 expires max; 89 expires max;
90 add_header Cache-Control public; 90 add_header Cache-Control public;