24 lines
661 B
Plaintext
24 lines
661 B
Plaintext
server.modules = ("mod_alias", "mod_setenv")
|
|
server.port = __WEB_PORT__
|
|
server.document-root = "/usr/local/share/flightwall/html"
|
|
server.errorlog = "/dev/stderr"
|
|
server.stat-cache-engine = "disable"
|
|
index-file.names = ("index.html")
|
|
|
|
alias.url = ("/data/" => "/run/flightwall-dump1090/")
|
|
|
|
setenv.add-response-header = ("Cache-Control" => "no-cache")
|
|
|
|
mimetype.assign = (
|
|
".html" => "text/html",
|
|
".css" => "text/css",
|
|
".js" => "application/javascript",
|
|
".json" => "application/json",
|
|
".geojson" => "application/json",
|
|
".png" => "image/png",
|
|
".gif" => "image/gif",
|
|
".svg" => "image/svg+xml",
|
|
".ico" => "image/x-icon",
|
|
".txt" => "text/plain"
|
|
)
|