Add a redirect for map URLs with no trailing slash
This commit is contained in:
parent
cfb02c1a7c
commit
802f1f9404
5
debian/lighttpd/89-dump1090-fa.conf
vendored
5
debian/lighttpd/89-dump1090-fa.conf
vendored
|
@ -7,6 +7,11 @@ alias.url += (
|
||||||
"/dump1090-fa/" => "/usr/share/dump1090-fa/html/"
|
"/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
|
# Listen on port 8080 and emit 301s pointing to port 80
|
||||||
# to support the old convention of the map being on 8080
|
# to support the old convention of the map being on 8080
|
||||||
$SERVER["socket"] == ":8080" {
|
$SERVER["socket"] == ":8080" {
|
||||||
|
|
Loading…
Reference in a new issue