ref: 4684feb935a8ca58f4eb96afb29ef23fb6ccc1c6 tlstunnel/go.sum -rw-r--r-- 11.1 KiB
Enable certmagic logging
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