From ec97f84bda090bc99d233dd2e386e73f2a00624a Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Thu, 15 May 2014 10:22:28 +0530 Subject: [PATCH] disable gzip encoding when ssl is enabled --- assets/config/nginx/gitlab.https.permissive | 2 +- assets/config/nginx/gitlab.https.strict | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/config/nginx/gitlab.https.permissive b/assets/config/nginx/gitlab.https.permissive index 3157c8e4..f96a1439 100644 --- a/assets/config/nginx/gitlab.https.permissive +++ b/assets/config/nginx/gitlab.https.permissive @@ -44,7 +44,7 @@ server { location @gitlab { # If you use https make sure you disable gzip compression # to be safe against BREACH attack - # gzip off; + gzip off; proxy_read_timeout 300; # Some requests take more than 30 seconds. proxy_connect_timeout 300; # Some requests take more than 30 seconds. diff --git a/assets/config/nginx/gitlab.https.strict b/assets/config/nginx/gitlab.https.strict index b45727fe..5c0d4000 100644 --- a/assets/config/nginx/gitlab.https.strict +++ b/assets/config/nginx/gitlab.https.strict @@ -65,7 +65,7 @@ server { location @gitlab { # If you use https make sure you disable gzip compression # to be safe against BREACH attack - # gzip off; + gzip off; proxy_read_timeout 300; # Some requests take more than 30 seconds. proxy_connect_timeout 300; # Some requests take more than 30 seconds.