From d8891a1b4c06c001bda1716a06e0cd52e3a342b6 Mon Sep 17 00:00:00 2001 From: Drew Hammond Date: Thu, 31 Jul 2014 22:48:09 -0400 Subject: [PATCH] Remove gzip_http_version parameter The gzip_http_version override is no longer needed because CloudFront now forwards requests using HTTP/1.1. We can remove this line entirely and let nginx use its default value of 1.1. --- nginx.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/nginx.conf b/nginx.conf index b4c9126..3e777f4 100644 --- a/nginx.conf +++ b/nginx.conf @@ -69,9 +69,6 @@ http { # Enable Gzip compressed. gzip on; - # Enable compression both for HTTP/1.0 and HTTP/1.1 (required for CloudFront). - gzip_http_version 1.0; - # Compression level (1-9). # 5 is a perfect compromise between size and cpu usage, offering about # 75% reduction for most ascii files (almost identical to level 9).