Skip to content

Commit

Permalink
add autocert details log
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed May 4, 2021
1 parent 5c1ab35 commit 211fe15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/proxy/ssl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 211fe15

Please sign in to comment.