diff --git a/deploy/Caddyfile b/deploy/Caddyfile index 32103ba..849477f 100644 --- a/deploy/Caddyfile +++ b/deploy/Caddyfile @@ -31,7 +31,9 @@ reverse_proxy api:8000 } - @api path /api/* /health /ready + # Astro owns /api/report and /api/report-screenshot; only the versioned + # backend namespace and health endpoints belong to FastAPI. + @api path /api/v1/* /health /ready handle @api { reverse_proxy api:8000 }