diff --git a/debian/lighttpd/89-dump1090-fa.conf b/debian/lighttpd/89-dump1090-fa.conf index bf02c6e..751a974 100644 --- a/debian/lighttpd/89-dump1090-fa.conf +++ b/debian/lighttpd/89-dump1090-fa.conf @@ -7,6 +7,11 @@ alias.url += ( "/dump1090-fa/" => "/usr/share/dump1090-fa/html/" ) +# redirect the slash-less URL +url.redirect += ( + "^/dump1090-fa$" => "/dump1090-fa/" +) + # Listen on port 8080 and emit 301s pointing to port 80 # to support the old convention of the map being on 8080 $SERVER["socket"] == ":8080" {