feat: Log new certificates using info
This commit is contained in:
parent
fc96bd8a5d
commit
1ad9ef6d93
3
acme.go
3
acme.go
@ -265,7 +265,7 @@ func makeTlsConfig(pagesDomain, path string, acmeClient *lego.Client) *tls.Confi
|
||||
defer unlockDomain(domain)
|
||||
|
||||
// Request new certificate
|
||||
log.Debugf("Obtaining new certificate for %s...", domain)
|
||||
log.Infof("Obtaining new certificate for %s...", domain)
|
||||
err := ObtainNewCertificate(
|
||||
[]string{domain},
|
||||
path,
|
||||
@ -284,7 +284,6 @@ func makeTlsConfig(pagesDomain, path string, acmeClient *lego.Client) *tls.Confi
|
||||
return cert.TlsCertificate, nil
|
||||
}
|
||||
|
||||
log.Debugf("TLS ServerName: %s", info.ServerName)
|
||||
return Certificates.FallbackCertificate.TlsCertificate, nil
|
||||
},
|
||||
NextProtos: []string{
|
||||
|
Loading…
Reference in New Issue
Block a user