Skip to content

Commit

Permalink
tls/acme: set default hostname:
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrcnull committed Mar 14, 2022
1 parent 211e1a6 commit 1ea42fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/tls/acme/acme.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func (l *Loader) Init(cfg *config.Map) error {
l.cfg = certmagic.New(l.cache, certmagic.Config{
Storage: l.store, // not sure if it is necessary to set these twice
Logger: cmLog,
DefaultServerName: hostname,
})
mngr := certmagic.NewACMEManager(l.cfg, certmagic.ACMEManager{
Logger: cmLog,
Expand Down

0 comments on commit 1ea42fd

Please # to comment.