From 75cd3a0ee51ea07918487da0e8505a9d32a1d2ca Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Fri, 31 Jan 2020 04:43:20 +0100 Subject: [PATCH] meh --- nginx.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nginx.conf b/nginx.conf index a9f8f1e..f274f8c 100644 --- a/nginx.conf +++ b/nginx.conf @@ -8,15 +8,16 @@ location /INSTANCE/data/ { location ~ trace_recent { gzip off; add_header Cache-Control "public, max-age=10"; - add_header Content-Encoding "br"; + add_header Content-Encoding "gzip"; } location ~ trace_full { gzip off; add_header Cache-Control "public, max-age=60"; - add_header Content-Encoding "br"; + add_header Content-Encoding "gzip"; } } location ~ globe_.*\.json$ { + gzip off; add_header Cache-Control "public, max-age=2"; add_header Content-Encoding "gzip"; } @@ -26,7 +27,7 @@ location /INSTANCE/globe_history/ { alias /var/globe_history/; add_header Cache-Control "public, max-age=600"; add_header Content-Type "application/json"; - add_header Content-Encoding "br"; + add_header Content-Encoding "gzip"; } location /INSTANCE/chunks/ {