meldestelle/config/docker/caddy/web-app/Caddyfile
stefan a202d3d817
All checks were successful
Build and Publish Docker Images / build-and-push (., backend/infrastructure/gateway/Dockerfile, api-gateway, api-gateway) (push) Successful in 7m55s
Build and Publish Docker Images / build-and-push (., backend/services/ping/Dockerfile, ping-service, ping-service) (push) Successful in 6m56s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 1m55s
Build and Publish Docker Images / build-and-push (., config/docker/keycloak/Dockerfile, keycloak, keycloak) (push) Successful in 1m37s
Adjust Caddyfile configuration and prevent Caddy template action conflicts in frontend runtime setup
2026-03-14 21:16:22 +01:00

37 lines
471 B
Caddyfile

{
auto_https off
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 {
mime text/html application/json
}
handle /api/* {
reverse_proxy api-gateway:8081
}
handle /health {
respond "healthy" 200
}
handle {
try_files {path} /index.html
file_server
}
}