From ed40a5dcab80f17d63c3fba83349004eac3c7930 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 12 Sep 2019 17:31:54 -0600 Subject: tls: Do away with SetDefaults which did nothing useful CertMagic uses the same defaults for us --- modules/caddyhttp/caddyhttp.go | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/caddyhttp/caddyhttp.go') 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, -- cgit v1.2.3