summaryrefslogtreecommitdiffstats
path: root/roles/git/files/etc/nginx/sites-available/git
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/files/etc/nginx/sites-available/git')
-rw-r--r--roles/git/files/etc/nginx/sites-available/git2
1 files changed, 2 insertions, 0 deletions
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
}