summaryrefslogtreecommitdiff
path: root/modules/caddyhttp
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-09-12 17:31:54 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-09-12 17:31:54 -0600
commited40a5dcab80f17d63c3fba83349004eac3c7930 (patch)
treee94e2be4f98316529da9a29be6e0b7075c0e1bb0 /modules/caddyhttp
parent7799554baacbb7ca2b80f2a22968cfcd8071ab0a (diff)
tls: Do away with SetDefaults which did nothing useful
CertMagic uses the same defaults for us
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r--modules/caddyhttp/caddyhttp.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/caddyhttp/caddyhttp.go b/modules/caddyhttp/caddyhttp.go
index 693f416..b6a8148 100644
--- a/modules/caddyhttp/caddyhttp.go
+++ b/modules/caddyhttp/caddyhttp.go
@@ -337,7 +337,6 @@ func (app *App) automaticHTTPS() error {
},
},
}
- acmeManager.SetDefaults()
tlsApp.Automation.Policies = append(tlsApp.Automation.Policies,
caddytls.AutomationPolicy{
Hosts: domainsForCerts,