]> git.pld-linux.org Git - packages/gitlab-ce.git/commitdiff
nginx: gzip sample
authorElan Ruusamäe <glen@delfi.ee>
Sun, 4 Sep 2016 10:44:18 +0000 (13:44 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 4 Sep 2016 10:44:18 +0000 (13:44 +0300)
from https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/support/nginx/gitlab

nginx.conf

index 499fdf6a1e5d083c8fcb21bab3afb3b69118dd2e..f6e2f8ca73b1481018b362f7600776a527aec740 100644 (file)
@@ -30,6 +30,7 @@ server {
        location / {
                ## If you use HTTPS make sure you disable gzip compression
                ## to be safe against BREACH attack.
+               #gzip off;
 
                ## https://github.com/gitlabhq/gitlabhq/issues/694
                ## Some requests take more than 30 seconds.
This page took 0.065961 seconds and 4 git commands to generate.