1. Caddy version:
v2.6.3 h1:QRVBNIqfpqZ1eJacY44I6eUC1OcxQ8D04EKImzpj7S8= (caddy-l4 actually)
2. How I installed, and run Caddy:
Temporary fetched with
$ xcaddy build --with github.com/mholt/caddy-l4
a. System environment:
c. Service/unit/compose file:
d. My complete Caddy config:
3. The problem I’m having:
I need to proxy a “regular” http connection to a backend server, which is accessible only via an http proxy. I know this is not possible via standard caddy server, and I found this variation, which should manage this config, if I understand correctly.
Unfortunately, I cannot find additional documentation other than README, and I cannot read Go code, so at first I was wondering if this is actually possible.
4. Error messages and/or full log output:
5. What I already tried:
The closest sample config I found on the README is the IMAP ssl proxy example. But I don’t understand how to configure the upstream connection via proxy.
Using cURL, I have to connect this way:
curl -x 10.1.1.12:8080 https://destination.host.com