Comment gzip: off be default
This commit is contained in:
parent
563fec7349
commit
5307dd5f74
1 changed files with 4 additions and 4 deletions
|
@ -42,8 +42,9 @@ server {
|
|||
# if a file, which is not found in the root folder is requested,
|
||||
# then the proxy pass the request to the upsteam (gitlab unicorn)
|
||||
location @gitlab {
|
||||
# We need this to prevent BREACH attack
|
||||
gzip off;
|
||||
# If you use https make sure you disable gzip compression
|
||||
# to be safe against BREACH attack
|
||||
# gzip off;
|
||||
|
||||
proxy_read_timeout 300; # Some requests take more than 30 seconds.
|
||||
proxy_connect_timeout 300; # Some requests take more than 30 seconds.
|
||||
|
@ -66,5 +67,4 @@ server {
|
|||
}
|
||||
|
||||
error_page 502 /502.html;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue