2014-12-06 22:47:46 +01:00
|
|
|
# Allows access to the static files that provide the dump1090 map view,
|
|
|
|
# and also to the dynamically-generated json parts that contain aircraft
|
|
|
|
# data and are periodically written by the dump1090 daemon.
|
|
|
|
|
|
|
|
url.redirect += (
|
|
|
|
"^/dump1090/$" => "/dump1090/gmap.html",
|
|
|
|
"^/dump1090$" => "/dump1090/gmap.html"
|
|
|
|
)
|
|
|
|
|
|
|
|
alias.url += (
|
|
|
|
"/dump1090/data/" => "/run/dump1090-mutability/",
|
2015-02-25 14:16:54 +01:00
|
|
|
"/dump1090/db/" => "/var/cache/dump1090-mutability/db/",
|
2014-12-09 21:36:24 +01:00
|
|
|
"/dump1090/" => "/usr/share/dump1090-mutability/html/"
|
2014-12-06 22:47:46 +01:00
|
|
|
)
|
2015-01-07 20:01:56 +01:00
|
|
|
|
2015-02-25 14:16:54 +01:00
|
|
|
# The stat cache must be disabled, as aircraft.json changes
|
|
|
|
# frequently and lighttpd's stat cache often ends up with the
|
2015-01-07 20:01:56 +01:00
|
|
|
# wrong content length.
|
|
|
|
server.stat-cache-engine = "disable"
|