meldestelle/config/docker/caddy/web-app/Caddyfile
stefan 2fd3e39c19
All checks were successful
Build and Publish Docker Images / build-and-push (., backend/infrastructure/gateway/Dockerfile, api-gateway, api-gateway) (push) Successful in 7m31s
Build and Publish Docker Images / build-and-push (., backend/services/ping/Dockerfile, ping-service, ping-service) (push) Successful in 8m8s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 1m58s
Build and Publish Docker Images / build-and-push (., config/docker/keycloak/Dockerfile, keycloak, keycloak) (push) Successful in 1m43s
Simplify Caddyfile configuration and switch string interpolation to template literals in frontend.
2026-03-14 19:05:40 +01:00

36 lines
446 B
Caddyfile

{
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
}
}