about summary refs log tree commit diff stats
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/server/tls.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/tls.go b/internal/server/tls.go
index 2e187aa..1e18001 100644
--- a/internal/server/tls.go
+++ b/internal/server/tls.go
@@ -33,8 +33,8 @@ func (s *Server) serveTLS() (err error) {
 	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