diff options
author | Francis Lavoie <lavofr@gmail.com> | 2021-05-02 14:11:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-02 12:11:27 -0600 |
commit | ef7f15f3a42474319e2db0dff6720d91c153f0bf (patch) | |
tree | 7d9bc3b6edd6f3954d120d088b2bd9ccd5b48f0d /caddyconfig/httpcaddyfile/httptype.go | |
parent | 6e0e3e1537c399faabd30cc08a9fe68a7be87639 (diff) |
httpcaddyfile: Add `auto_https ignore_loaded_certs` (#4077)
Diffstat (limited to 'caddyconfig/httpcaddyfile/httptype.go')
-rw-r--r-- | caddyconfig/httpcaddyfile/httptype.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go index 4288076..1ccaed2 100644 --- a/caddyconfig/httpcaddyfile/httptype.go +++ b/caddyconfig/httpcaddyfile/httptype.go @@ -451,6 +451,9 @@ func (st *ServerType) serversFromPairings( if autoHTTPS == "disable_redirects" { srv.AutoHTTPS.DisableRedir = true } + if autoHTTPS == "ignore_loaded_certs" { + srv.AutoHTTPS.IgnoreLoadedCerts = true + } } // sort server blocks by their keys; this is important because |