This commit is contained in:
Matthias Wirth
2020-01-31 04:43:20 +01:00
parent a86ad8f799
commit 75cd3a0ee5

View File

@@ -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/ {