adapt nginx/lighttpd config to globeMil files
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user