diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2022-06-01 15:12:57 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2022-06-01 15:12:57 -0600 |
commit | 886ba84baa4f7ed7502034893e084193dd12f9f7 (patch) | |
tree | 84b1e013026557ad9b145f8462b19499d5853c88 /caddyconfig | |
parent | a9267791c4b34b06cfb71d7cf8bee203545a3677 (diff) |
Fix #4822 and fix #4779
The fix for 4822 is the change at the top of the file, and
4779's fix is toward the bottom of the file.
Diffstat (limited to 'caddyconfig')
-rw-r--r-- | caddyconfig/httpcaddyfile/tlsapp.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/caddyconfig/httpcaddyfile/tlsapp.go b/caddyconfig/httpcaddyfile/tlsapp.go index 76d7ebf..40ea47d 100644 --- a/caddyconfig/httpcaddyfile/tlsapp.go +++ b/caddyconfig/httpcaddyfile/tlsapp.go @@ -350,7 +350,6 @@ func (st ServerType) buildTLSApp( globalPreferredChains := options["preferred_chains"] hasGlobalACMEDefaults := globalEmail != nil || globalACMECA != nil || globalACMECARoot != nil || globalACMEDNS != nil || globalACMEEAB != nil || globalPreferredChains != nil if hasGlobalACMEDefaults { - // for _, ap := range tlsApp.Automation.Policies { for i := 0; i < len(tlsApp.Automation.Policies); i++ { ap := tlsApp.Automation.Policies[i] if len(ap.Issuers) == 0 && automationPolicyHasAllPublicNames(ap) { |