docs: update Caddyfile and add browser console error log for debugging
Build and Publish Docker Images / build-and-push (., backend/infrastructure/gateway/Dockerfile, api-gateway, api-gateway) (push) Successful in 7m21s
Build and Publish Docker Images / build-and-push (., backend/services/ping/Dockerfile, ping-service, ping-service) (push) Successful in 7m14s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 1m45s
Build and Publish Docker Images / build-and-push (., config/docker/keycloak/Dockerfile, keycloak, keycloak) (push) Successful in 1m48s

- Improved SPA fallback configuration in `Caddyfile` for better proxy compatibility.
- Uploaded 2026-03-12 browser console error log to document HTTPS and mixed-content issues.

Signed-off-by: Stefan Mogeritsch <stefan.mo.co@gmail.com>
This commit is contained in:
2026-03-12 16:42:22 +01:00
parent 2dd582c8b7
commit 4d10b971e5
2 changed files with 531 additions and 8 deletions
+7 -8
View File
@@ -57,12 +57,11 @@
respond "healthy" 200
}
# 3. Static Files & SPA Fallback (Priority 2)
handle {
# Serve static files if they exist
file_server
# SPA Routing: Fallback to index.html for non-existent files
try_files {path} /index.html
}
# 3. Static Files & SPA Fallback (NEUE, ROBUSTERE KONFIGURATION)
# Serve static files directly.
# For any path that is NOT a file and NOT a directory, rewrite to /index.html.
# This is a more explicit SPA-fallback than try_files for some proxies.
@not_file `not file`
rewrite @not_file /index.html
file_server
}