1. The problem I’m having:
I want to proxy SSH, Postgres, and other arbitrary network protocols over TLS, as well as SNI route from one caddy instance to another - though X-Forwarded-For
mostly handles that.
The PROXY protocol + mmproxy are the standard tools to makes this work.
Going through the various places for Caddy information, much of it is (hopefully) outdated and/or incomplete in regards to PROXY support.
I just want to know what the latest is, now, with Caddy 2.x, in 2023 (not what it was 4 or 8 years ago).
SEO on this stuff is terribad - search either takes me to completely unrelated pages, or posts that are, y’know, almost a decade old.
Though, it doesn’t help that the two words “Proxy” and “Protocol” is completely generic and nondescript in relation to a web server…
2. Error messages and/or full log output:
N/A
3. Caddy version:
Any
4. How I installed and ran Caddy:
N/A
a. System environment:
All.
b. Command:
N/A
c. Service/unit/compose file:
N/A
d. My complete Caddy config:
N/A - don’t know what to do yet
5. Links to relevant resources:
How I’m proxying SSH over TLS:
https://github.com/mholt/caddy-l4/issues/102.