mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
disable gzip encoding when ssl is enabled
This commit is contained in:
parent
2dd26817a0
commit
ec97f84bda
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user