adapt nginx/lighttpd config to globeMil files

This commit is contained in:
Matthias Wirth
2020-10-23 02:07:40 +02:00
parent 63c40b8705
commit 8e5250a0af
3 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ $HTTP["url"] =~ "^/INSTANCE/data/aircraft\.json$" {
"Cache-Control" => "public, max-age=0",
)
}
$HTTP["url"] =~ "^/INSTANCE/data/globe_.*" {
$HTTP["url"] =~ "^/INSTANCE/data/globe.*" {
compress.filetype = ()
setenv.add-response-header += (
"Cache-Control" => "public, max-age=0",

View File

@@ -38,7 +38,7 @@ $HTTP["url"] =~ "^/INSTANCE/data/aircraft\.json$" {
"Cache-Control" => "public, max-age=0",
)
}
$HTTP["url"] =~ "^/INSTANCE/data/globe_.*" {
$HTTP["url"] =~ "^/INSTANCE/data/globe.*" {
compress.filetype = ()
setenv.add-response-header += (
"Cache-Control" => "public, max-age=0",

View File

@@ -21,7 +21,7 @@ location /INSTANCE/data/ {
add_header Cache-Control "public, max-age=0";
add_header Content-Encoding "gzip";
}
location ~ globe_.*\.binCraft$ {
location ~ globe.*\.binCraft$ {
gzip off;
add_header Cache-Control "public, max-age=0";
add_header Content-Encoding "gzip";