Build [v1.9.7] (Fix ERR_SSL_PROTOCOL_ERROR: Explicit HTTPS in Caddyfile)

This commit is contained in:
Daniel Bedeleanu
2026-04-13 21:42:58 +03:00
parent e5194a1dbb
commit 9348336709
3 changed files with 11 additions and 7 deletions

View File

@@ -1,12 +1,9 @@
# TFM aInventory - Caddy Self-Signed Internal Proxy
# This replaces the need for `local-ssl-proxy` in Node.
:{$FRONTEND_SSL_PORT} {
https://:{$FRONTEND_SSL_PORT} {
tls internal
reverse_proxy frontend:3000
}
:{$BACKEND_SSL_PORT} {
https://:{$BACKEND_SSL_PORT} {
tls internal
reverse_proxy backend:8000
}