Commit d1171af6 authored by Matthew Holt's avatar Matthew Holt

httpserver: Don't obtain certs for unmanaged configs (fixes #2387)

parent 598de9e6
......@@ -38,6 +38,9 @@ func activateHTTPS(cctx caddy.Context) error {
// place certificates and keys on disk
for _, c := range ctx.siteConfigs {
if !c.TLS.Managed {
continue
}
if c.TLS.Manager.OnDemand != nil {
continue // obtain these certificates on-demand instead
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment