From d85e2b63d3faf6c15d22b4d3ce73c956c6cd0d52 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Sat, 12 Jan 2019 08:43:58 +0100 Subject: [PATCH] remove old gzip configurations --- etc/nginx/nginx.conf | 46 ++++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index 0f8972a..b1e40d7 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -138,31 +138,35 @@ http ## gzip on; - gzip_disable "msie6"; - gzip_vary on; gzip_proxied any; gzip_comp_level 6; gzip_buffers 16 8k; - gzip_http_version 1.1; - gzip_types - application/atom+xml - application/javascript - application/json - application/rss+xml - application/vnd.ms-fontobject - application/x-font-ttf - application/x-web-app-manifest+json - application/xhtml+xml - application/xml - font/opentype - image/svg+xml - image/x-icon - text/css - text/plain - text/x-component - text/xml - text/javascript; + gzip_types application/atom+xml + application/javascript + application/json + application/ld+json + application/manifest+json + application/rss+xml + application/vnd.geo+json + application/vnd.ms-fontobject + application/x-font-ttf + application/x-web-app-manifest+json + application/xhtml+xml + application/xml + font/opentype + image/bmp + image/svg+xml + image/x-icon + text/cache-manifest + text/css + text/plain + text/vcard + text/vnd.rim.location.xloc + text/vtt + text/x-component + text/x-cross-domain-policy; + text/javascript; ## # Brotli Settings