Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-07 19:47:20 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-07 19:47:20 +0400
commit5307dd5f74236fc48b64080d3191cba1ebe4315e (patch)
treef81fb09205e4747b89e041caf06b505ae73217ec /lib/support
parent563fec734912d81cd7caea6fa8ec2b397fb72a9b (diff)
Comment gzip: off be default
Diffstat (limited to 'lib/support')
-rw-r--r--lib/support/nginx/gitlab8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab
index 6b31dbd4304..f64c8d5883c 100644
--- a/lib/support/nginx/gitlab
+++ b/lib/support/nginx/gitlab
@@ -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;
-}
-
+} \ No newline at end of file