22 lines
566 B
Caddyfile
22 lines
566 B
Caddyfile
# TFM aInventory - Caddy Explicit IP Configuration
|
|
# Version 1.9.10 - Focused on resolving Protocol Errors on private IPs.
|
|
{
|
|
# Global options
|
|
admin off
|
|
# Disable automatic HTTP->HTTPS redirects to prevent port conflicts on non-standard ports
|
|
auto_https disable_redirects
|
|
}
|
|
|
|
# Frontend SSL Proxy - Explicit address to improve handshake success
|
|
https://{$SERVER_IP:192.168.84.113}:443 {
|
|
tls internal
|
|
reverse_proxy frontend:3000
|
|
}
|
|
|
|
# Backend SSL Proxy
|
|
https://{$SERVER_IP:192.168.84.113}:444 {
|
|
tls internal
|
|
reverse_proxy backend:8000
|
|
}
|