ref: a2bf967da74fb45bfd5c32a64f47a5b08c3a201f tlstunnel/go.sum -rw-r--r-- 11.0 KiB
Switch to scfg

And we get nested blocks for free.
Set PROXY protocol PP2_TYPE_SSL
Use upstream proxyproto.HeaderProxyFromAddrs
Update certmagic to fix ALPN protocols

A recent certmagic commit [1] removes the assumption that tlstunnel will
proxy HTTP 1.1 and 2 traffic.

[1]: https://github.com/caddyserver/certmagic/commit/3e4c11b75f17b664798de9d2a6e5ca76bbcbaf45
Add support for the PROXY protocol
Add certmagic support
Initial commit