mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
add autocert details log
This commit is contained in:
@@ -65,6 +65,8 @@ func (h *Http) redirectHandler() http.Handler {
|
||||
}
|
||||
|
||||
func (h *Http) makeAutocertManager() *autocert.Manager {
|
||||
log.Printf("[DEBUG] autocert manager for domains: %+v, location: %s, email: %q",
|
||||
h.SSLConfig.FQDNs, h.SSLConfig.ACMELocation, h.SSLConfig.ACMEEmail)
|
||||
return &autocert.Manager{
|
||||
Prompt: autocert.AcceptTOS,
|
||||
Cache: autocert.DirCache(h.SSLConfig.ACMELocation),
|
||||
|
||||
Reference in New Issue
Block a user