From 4fb071039b1441ed9bec83050412a6e5ba33d91c Mon Sep 17 00:00:00 2001 From: Emi Griffith Date: Fri, 10 Jul 2026 20:23:28 -0700 Subject: [PATCH] Caddyfile: use a named path matcher for the /thermograph routes (#14) The handle directive takes a single matcher token; two space-separated paths (/thermograph /thermograph/*) fail to parse with 'Wrong argument count'. Match both via a named @thermograph path matcher instead. Verified with caddy validate. --- deploy/Caddyfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/Caddyfile b/deploy/Caddyfile index 85b8c71..5e6c0c9 100644 --- a/deploy/Caddyfile +++ b/deploy/Caddyfile @@ -17,7 +17,8 @@ emigriffith.dev { # Thermograph — the app serves all pages, assets, and API under /thermograph. # Match both the bare prefix and everything beneath it; the app redirects the # bare /thermograph to /thermograph/. - handle /thermograph /thermograph/* { + @thermograph path /thermograph /thermograph/* + handle @thermograph { reverse_proxy 127.0.0.1:8137 }