16 lines
444 B
Plaintext
16 lines
444 B
Plaintext
# serve tar1090 directly at / the web server root
|
|
alias.url += (
|
|
"/data/" => "/run/dump1090-fa/",
|
|
"/chunks/" => "/run/tar1090/",
|
|
"/" => "/usr/local/share/tar1090/html/",
|
|
)
|
|
|
|
$HTTP["url"] =~ "^/chunks/chunk_.*gz$" {
|
|
setenv.add-response-header += (
|
|
"Access-Control-Allow-Origin" => "*",
|
|
"Cache-Control" => "must-revalidate",
|
|
"Content-Encoding" => "gzip",
|
|
"Content-Type" => "application/json",
|
|
)
|
|
}
|