mirror of
https://github.com/caddyserver/caddy.git
synced 2026-11-18 05:49:28 +00:00
ACMEIssuer already has a network_proxy JSON field and the Caddyfile adapter already merges it, but UnmarshalCaddyfile rejected the subdirective, so a forward proxy could not be scoped to ACME requests from a Caddyfile. Parse it the same way reverse_proxy does, using the caddy.network_proxy module namespace, and document it in the syntax comment. Add a unit test and an adapt fixture. Signed-off-by: wankhede04 <wankhedevijay04@gmail.com> |
||
|---|---|---|
| .. | ||
| integration | ||
| a.caddy.localhost.crt | ||
| a.caddy.localhost.key | ||
| caddy.ca.cer | ||
| caddy.localhost.crt | ||
| caddy.localhost.key | ||
| caddytest.go | ||
| caddytest_test.go | ||
| leafcert.pem | ||