From 035f546b204b02c415aba0c2673fe3d7713a2c1e Mon Sep 17 00:00:00 2001 From: Martin Varga Date: Fri, 24 Jan 2025 09:33:23 +0100 Subject: [PATCH] Simplify gzip settings to avoaid clash with API responses --- ssl-proxy.conf | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/ssl-proxy.conf b/ssl-proxy.conf index 6359a90c..e4746e24 100644 --- a/ssl-proxy.conf +++ b/ssl-proxy.conf @@ -29,23 +29,12 @@ gzip_min_length 10240; gzip_comp_level 1; gzip_vary on; - gzip_proxied expired no-cache no-store private auth; + gzip_proxied any; gzip_types text/css text/javascript - text/xml - text/plain - text/x-component application/javascript - application/x-javascript - application/json - application/xml - application/rss+xml - application/atom+xml - font/truetype - font/opentype - application/vnd.ms-fontobject - image/svg+xml; + application/x-javascript; # Prevent crawlers from indexing and following links for all content served from the mergin app add_header X-Robots-Tag "none";