From 9de0a55d54999507528ec232a008ce49be10a4b2 Mon Sep 17 00:00:00 2001 From: Eric Wagoner Date: Thu, 29 Oct 2026 11:22:33 -0400 Subject: [PATCH] The root address is rewritten to index.html, since try_files passes the root over as a directory and served the shell in place of the hall Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_0141G6xqLeNRYEtviLWSB5Up --- deploy/Caddyfile.tmpl | 3 +++ 1 file changed, 3 insertions(+) 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 }