lighttpd integtration: be more restrictive with adding headers
This commit is contained in:
@@ -11,7 +11,7 @@ url.redirect += (
|
||||
"^/tar1090$" => "/tar1090/"
|
||||
)
|
||||
|
||||
$HTTP["url"] =~ ".*/chunks/chunk_.*gz$" {
|
||||
$HTTP["url"] =~ "^/tar1090/chunks/chunk_.*gz$" {
|
||||
setenv.add-response-header += (
|
||||
"Access-Control-Allow-Origin" => "*",
|
||||
"Cache-Control" => "must-revalidate",
|
||||
|
||||
Reference in New Issue
Block a user