caddy-l4
caddy-l4 copied to clipboard
SSTP TLS
Sorry, may be i am just stupid. I am traing create configuration in working caddy, where i need reverse proxy SSTP VPN connection. Standard web proxy cannot be used. I need use sni, ecause on same IP and PORT running web proxies. When i add this config to caddy, i have got error: unrecognized directive: :443
layer4 { :443 { @one tls sni vpn.mycompany.cz route @one { tls proxy 192.168.0.10:443 } } }
Thank you in advance Lordrak
https://github.com/mholt/caddy-l4/issues/339
You need to wrap that config snippet in one more set of braces { ... } so that it's part of the global config.