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.
This commit is contained in:
parent
fc610f495a
commit
d8891a1b4c
|
@ -69,9 +69,6 @@ http {
|
||||||
# Enable Gzip compressed.
|
# Enable Gzip compressed.
|
||||||
gzip on;
|
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).
|
# Compression level (1-9).
|
||||||
# 5 is a perfect compromise between size and cpu usage, offering about
|
# 5 is a perfect compromise between size and cpu usage, offering about
|
||||||
# 75% reduction for most ascii files (almost identical to level 9).
|
# 75% reduction for most ascii files (almost identical to level 9).
|
||||||
|
|
Loading…
Reference in New Issue