mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-21 05:40:46 +08:00
Log certificate location
This commit is contained in:
parent
75ccc05d84
commit
bcddfb2daa
|
@ -3,6 +3,7 @@ package caddytls
|
|||
import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"net/url"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
@ -188,6 +189,7 @@ func (s *FileStorage) StoreSite(domain string, data *SiteData) error {
|
|||
if err != nil {
|
||||
return fmt.Errorf("writing cert meta file: %v", err)
|
||||
}
|
||||
log.Printf("[INFO][%v] Certificate written to disk: %v", domain, s.siteCertFile(domain))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user