# Caddyfile.dev — local development (HTTP only) { auto_https off admin off } :80 { # Logs to stdout (handy in `docker compose logs caddy`) log { output stdout format console } # Health-check / sanity page for the proxy itself respond / "caddy ok" 200 # Proxy API: strip /api prefix and forward to the api service on 8080 handle_path /api/* { reverse_proxy api:8080 } # Helpful headers, even in dev header { X-Content-Type-Options "nosniff" Referrer-Policy "strict-origin-when-cross-origin" } }