add startup scripts and configs
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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"
|
||||
)
|
||||
Reference in New Issue
Block a user