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:
parent
8e73fab30f
commit
646eb50eba
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue