From 6e82fe6d63b01e42b0b145657e3cf3f0bff41503 Mon Sep 17 00:00:00 2001 From: AHMZA Date: Sat, 25 Dec 2021 02:21:45 +0000 Subject: [PATCH] added more types as well as gzip_proxy --- nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 0976948..63b5dd8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -24,7 +24,8 @@ http { gzip on; gzip_disable "MSIE [1-6]\.(?!.*SV1)"; gzip_vary on; - gzip_types text/plain text/css text/javascript image/svg+xml image/x-icon application/javascript application/x-javascript; + gzip_proxied + gzip_types text/plain text/css text/xml text/javascript image/svg+xml image/x-icon application/javascript application/x-javascript application/json application/xml application/xml+rss; server { # listen on port 80