From 1bd86e30e5a4b9ee611f0b1a3a5ab7cfc430c66d Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 28 Jun 2026 19:21:44 -0400 Subject: [PATCH] caddy: fix /home2,/home3 redirect (redir destination, not a path matcher) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `redir / permanent` mis-parsed — Caddy read the leading `/` as a path matcher and `permanent` as the destination, so it only matched `/` and emitted a broken 302 to "permanent". Use an explicit destination URL (matching the www→apex idiom): `redir https://upbeatbytes.com/ permanent`. Live Caddy reloaded; snapshot mirrored. Verified: /home2,/home3,/home3.html → 301 → /. Co-Authored-By: Claude Opus 4.8 --- deploy/caddy/Caddyfile.snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/caddy/Caddyfile.snapshot b/deploy/caddy/Caddyfile.snapshot index 6f211be..b4c08d1 100644 --- a/deploy/caddy/Caddyfile.snapshot +++ b/deploy/caddy/Caddyfile.snapshot @@ -49,7 +49,7 @@ upbeatbytes.com { # Retired prototype routes (promoted/removed at the news relaunch) → the hub. @oldhome path /home2 /home2.html /home3 /home3.html handle @oldhome { - redir / permanent + redir https://upbeatbytes.com/ permanent } # Dynamic API + server-rendered pages (share, digest, sitemap) → FastAPI.