diff --git a/server/server.go b/server/server.go index 2c1dc9d..23eb5c3 100644 --- a/server/server.go +++ b/server/server.go @@ -274,9 +274,8 @@ func UseLetsEncrypt(hosts []string) OptionFn { }, } - srvr.tlsConfig = &tls.Config{ - GetCertificate: m.GetCertificate, - } + srvr.tlsConfig = m.TLSConfig() + srvr.tlsConfig.GetCertificate = m.GetCertificate } }