From bd525cbda9c874823e3384227dcc8a1cb0dea35f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 30 Oct 2015 02:44:26 +0100 Subject: nginx: adjust expiration date for static content. --- roles/git/files/etc/nginx/sites-available/git | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/git/files') diff --git a/roles/git/files/etc/nginx/sites-available/git b/roles/git/files/etc/nginx/sites-available/git index 75c1512..112babb 100644 --- a/roles/git/files/etc/nginx/sites-available/git +++ b/roles/git/files/etc/nginx/sites-available/git @@ -18,6 +18,7 @@ server { root /var/lib/gitolite/repositories; try_files /$1.git/objects/$2 /$1/objects/$2 =404; expires 30d; + gzip off; # TODO honor git-daemon-export-ok } @@ -67,6 +68,7 @@ server { root /var/lib/gitolite/repositories; try_files /$1.git/objects/$2 /$1/objects/$2 =404; expires 30d; + gzip off; # TODO honor git-daemon-export-ok } -- cgit v1.2.3