default to using binCraft when working with readsb

This commit is contained in:
Matthias Wirth
2021-07-01 13:43:36 +02:00
parent aa5dd93f7b
commit aa61b4ba71
6 changed files with 21 additions and 8 deletions

View File

@@ -13,6 +13,13 @@ alias.url += (
"/INSTANCE/" => "HTMLPATH/"
)
$HTTP["url"] =~ "^/INSTANCE/data/.*\.binCraft$" {
compress.filetype = ()
setenv.add-response-header += (
"Cache-Control" => "no-cache",
"Content-Encoding" => "gzip",
)
}
$HTTP["url"] =~ "^/INSTANCE/chunks/chunk_.*gz$" {
setenv.add-response-header += (
"Access-Control-Allow-Origin" => "*",