From 383e24be38d01ddd73018763e6df7453c4bb35b5 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 16 May 2014 19:36:13 +0200 Subject: [PATCH] Correct the Nginx root for gzipped assets --- files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb b/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb index fc2c279..ed36ac4 100644 --- a/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb +++ b/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb @@ -84,7 +84,7 @@ server { # See config/application.rb under "Relative url support" for the list of # other files that need to be changed for relative url support location ~ ^/(assets)/ { - root /home/git/gitlab/public; + root /opt/gitlab/embedded/service/gitlab-rails/public; gzip_static on; # to serve pre-gzipped version expires max; add_header Cache-Control public; -- libgit2 0.21.2