{ auto_https off servers { metrics } } :4000 { root * /usr/share/caddy log { output stdout format json } header { Cross-Origin-Embedder-Policy "require-corp" Cross-Origin-Opener-Policy "same-origin" } encode gzip zstd templates handle /api/* { reverse_proxy api-gateway:8081 } handle /health { respond "healthy" 200 } handle { try_files {path} /index.html file_server } }