diff --git a/deploy/Caddyfile.tmpl b/deploy/Caddyfile.tmpl index abd7aba..7c2a7fc 100644 --- a/deploy/Caddyfile.tmpl +++ b/deploy/Caddyfile.tmpl @@ -43,6 +43,9 @@ __HOST__ { header @immutable Cache-Control "public, max-age=31536000, immutable" @mutable not path /_app/immutable/* header @mutable Cache-Control "no-cache" + # try_files passes the root over as a directory and would fall to the shell; the hall's + # own page is index.html. + rewrite / /index.html try_files {path} {path}.html /shell.html file_server }