Closed htfy96 closed 6 years ago
Hmm yes we should allow this. @xenolf I think Go supports proxy from environment, we can probably use that, right?
I can't find anything in Caddy that would be blocking this; my suggestion for now is to try taking this upstream to xenolf/lego and try completing a challenge using only lego itself, with your proxy configured in environment, and then see if that works. If not, then it should be an issue filed with lego. Thanks!
1. What version of Caddy are you using (
caddy -version
)?0.10.11
2. What are you trying to do?
To setup a HTTPS server through automatic HTTPS.
3. What is your entire Caddyfile?
4. How did you run Caddy (give the full command and describe the execution environment)?
In a docker container, with
http{s}_proxy
/DNSPOD_API_KEY
configured.caddy -conf /Caddyfile
.5. Please paste any relevant HTTP request(s) here.
N/A
6. What did you expect to see?
The challenge-response process of ACME should be sent through given
http{s}_proxy
.7. What did you see instead (give full error messages and/or log)?
8. How can someone who is starting from scratch reproduce the bug as minimally as possible?
Try caddy in networks where
letsencrypt.org
is blocked.