summaryrefslogtreecommitdiff
path: root/caddyconfig/caddyfile/lexer_test.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2021-02-02 16:17:26 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2021-02-02 16:17:26 -0700
commit90284e8017fedeb6eeb9f4183660a679b8a5e15e (patch)
treeda996b6608f84a81ebc80577af1e55a913a7073c /caddyconfig/caddyfile/lexer_test.go
parent2772ede43c852fa50f3527dbd94ae747b6f64365 (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/lexer_test.go')
0 files changed, 0 insertions, 0 deletions