diff --git a/config/docker/caddy/web-app/Caddyfile b/config/docker/caddy/web-app/Caddyfile index 46bf47d5..f5def7ec 100644 --- a/config/docker/caddy/web-app/Caddyfile +++ b/config/docker/caddy/web-app/Caddyfile @@ -24,19 +24,17 @@ mime application/json } -# Static Assets - file_server - -# API Proxy +# API Proxy (has priority) handle /api/* { reverse_proxy api-gateway:8081 } -# Health +# Health Check handle /health { respond "healthy" 200 } -# SPA Routing (Last Resort) +# Serve static files if they exist, otherwise serve index.html (SPA) + file_server try_files {path} /index.html } diff --git a/docs/ScreenShots/prod-docker-log-web-app_2026-03-13_12-57.png b/docs/ScreenShots/prod-docker-log-web-app_2026-03-13_12-57.png new file mode 100644 index 00000000..517e62a5 Binary files /dev/null and b/docs/ScreenShots/prod-docker-log-web-app_2026-03-13_12-57.png differ