bert: Redirect all troop352.us URLs to /

This is for backwards compatibility with the old site, which had e.g.
the calendar at `/calendar/`, etc.
This commit is contained in:
Chandler Swift 2025-02-14 19:15:25 -06:00
parent 8e73fab30f
commit 646eb50eba
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -6,6 +6,12 @@
file_server file_server
root * /srv/www/troop352.us root * /srv/www/troop352.us
@notRoot {
not path /
not file
}
redir @notRoot /
handle_errors { handle_errors {
respond "{err.status_code} {err.status_text}" respond "{err.status_code} {err.status_text}"
} }