125158b30a
/etc/default/dump1090-mutability is now generated in postinst, if it doesn't exist, from a template in /usr/share/dump1090-mutability. Subsequently, the config file is updated in place if debconf-driven changes are made. Static HTML/javascript have moved to a "html" subdir to avoid exposing the template via the webserver.
14 lines
437 B
Plaintext
14 lines
437 B
Plaintext
# 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/",
|
|
"/dump1090/" => "/usr/share/dump1090-mutability/html/"
|
|
)
|