caddy-l4 icon indicating copy to clipboard operation
caddy-l4 copied to clipboard

SSTP TLS

Open lordrak007 opened this issue 6 months ago • 2 comments

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

lordrak007 avatar Oct 14 '25 16:10 lordrak007

https://github.com/mholt/caddy-l4/issues/339

Monviech avatar Oct 14 '25 19:10 Monviech

You need to wrap that config snippet in one more set of braces { ... } so that it's part of the global config.

polarathene avatar Nov 13 '25 04:11 polarathene