disable gzip encoding when ssl is enabled

This commit is contained in:
Sameer Naik 2014-05-15 10:22:28 +05:30
parent 2dd26817a0
commit ec97f84bda
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.