tls: fix certmagic maintenance using wrong logger
Alan Pearce alan@alanpearce.eu
Mon, 09 Dec 2024 18:42:01 +0100
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M internal/server/tls.go → internal/server/tls.go
@@ -33,8 +33,8 @@ wildcardDomain := "*." + s.config.WildcardDomain certificateDomains := slices.Clone(s.config.Domains) + certmagic.Default.Logger = log.GetLogger().Named("certmagic") cfg := certmagic.NewDefault() - cfg.Logger = log.GetLogger().Named("certmagic") acme := certmagic.DefaultACME acme.Agreed = true