diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2021-02-02 16:17:26 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2021-02-02 16:17:26 -0700 |
commit | 90284e8017fedeb6eeb9f4183660a679b8a5e15e (patch) | |
tree | da996b6608f84a81ebc80577af1e55a913a7073c /caddyconfig/caddyfile/dispenser_test.go | |
parent | 2772ede43c852fa50f3527dbd94ae747b6f64365 (diff) |
httpcaddyfile: Fix default issuers when email provided
If `tls <email>` is used, we should apply that to all applicable default issuers, not drop them. This refactoring applies implicit ACME issuer settings from the tls directive to all default ACME issuers, like ZeroSSL.
We also consolidate some annoying logic and improve config validity checks.
Ref: https://caddy.community/t/error-obtaining-certificate-after-caddy-restart/11335/8
Diffstat (limited to 'caddyconfig/caddyfile/dispenser_test.go')
0 files changed, 0 insertions, 0 deletions