| 1 |
# Allows access to the static files that provide the dump1090 map view, |
| 2 |
# and also to the dynamically-generated json parts that contain aircraft |
| 3 |
# data and are periodically written by the dump1090 daemon. |
| 4 |
|
| 5 |
url.redirect += ( |
| 6 |
"^/dump1090/$" => "/dump1090/gmap.html", |
| 7 |
"^/dump1090$" => "/dump1090/gmap.html" |
| 8 |
) |
| 9 |
|
| 10 |
alias.url += ( |
| 11 |
"/dump1090/data/" => "/run/dump1090-mutability/", |
| 12 |
"/dump1090/" => "/usr/share/dump1090-mutability/html/" |
| 13 |
) |
| 14 |
|
| 15 |
# The stat cache must be disabled, as aircraft.json changes |
| 16 |
# frequently and lighttpd's stat cache often ends up with the |
| 17 |
# wrong content length. |
| 18 |
server.stat-cache-engine = "disable" |