diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-20 23:32:39 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-20 23:32:39 +0100 |
commit | 26d57a648c09f40bd1da3c81a0efe3661288b1af (patch) | |
tree | 50f2ce976c34d2c0656b8c1b3ded6953e4628dbe /lib | |
parent | 6945f4a299d9b46b9896e431086277bfedf54b7d (diff) | |
download | gitlab-ce-26d57a648c09f40bd1da3c81a0efe3661288b1af.tar.gz |
Restore nginx config a little more.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/support/nginx/gitlab | 1 | ||||
-rw-r--r-- | lib/support/nginx/gitlab-ssl | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab index b6889bb7d97..62a4276536c 100644 --- a/lib/support/nginx/gitlab +++ b/lib/support/nginx/gitlab @@ -105,6 +105,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; gzip_static on; # to serve pre-gzipped version expires max; add_header Cache-Control public; diff --git a/lib/support/nginx/gitlab-ssl b/lib/support/nginx/gitlab-ssl index 73885e6c22a..2aefc944698 100644 --- a/lib/support/nginx/gitlab-ssl +++ b/lib/support/nginx/gitlab-ssl @@ -152,6 +152,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; gzip_static on; # to serve pre-gzipped version expires max; add_header Cache-Control public; |