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