diff --git a/Caddyfile.standalone b/Caddyfile.standalone index 43454558..3160818c 100644 --- a/Caddyfile.standalone +++ b/Caddyfile.standalone @@ -1,5 +1,5 @@ # TFM aInventory - Standalone Caddy Configuration -# Self-signed SSL/TLS reverse proxy for localhost deployment +# Self-signed SSL/TLS reverse proxy for any IP/hostname { admin off @@ -11,8 +11,8 @@ } } -# HTTPS Frontend (port 8919 -> 443) -https://localhost:8919 { +# Dynamic HTTPS Frontend (port 8919) - Matches ANY IP or hostname +https://:8919 { tls internal { on_demand } @@ -27,8 +27,8 @@ https://localhost:8919 { } } -# HTTPS Backend (port 8918 -> 444) -https://localhost:8918 { +# Dynamic HTTPS Backend (port 8918) - Matches ANY IP or hostname +https://:8918 { tls internal { on_demand }