Start trimming dump1090-mutability down for use in piaware.

This commit is contained in:
Oliver Jowett 2016-01-13 00:00:08 +00:00
parent 9479a5c9be
commit b433a521bf
26 changed files with 162 additions and 2458 deletions

View file

@ -2,15 +2,10 @@
# 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/",
"/dump1090/db/" => "/var/cache/dump1090-mutability/db/",
"/dump1090/" => "/usr/share/dump1090-mutability/html/"
"/dump1090-fa/data/" => "/run/dump1090-fa/",
"/dump1090-fa/db/" => "/var/cache/dump1090-fa/db/",
"/dump1090-fa/" => "/usr/share/dump1090-fa/html/"
)
# The stat cache must be disabled, as aircraft.json changes