about summary refs log tree commit diff stats
path: root/internal/server/tls.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/tls.go')
-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 fc87049..dd69a44 100644
--- a/internal/server/tls.go
+++ b/internal/server/tls.go
@@ -97,7 +97,7 @@ func (s *Server) serveTLS() (err error) {
 		rs.TlsEnabled = rc.TLSEnabled
 		rs.TlsInsecure = rc.TLSInsecure
 
-		certmagic.Default.Storage = rs
+		cfg.Storage = rs
 		err = rs.ProvisionCertMagic(context.TODO(), log.GetLogger())
 		if err != nil {
 			return errors.WithMessage(err, "could not provision redis storage")