Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
52584f7f
Commit
52584f7f
authored
Mar 09, 2017
by
Matt Holt
Committed by
GitHub
Mar 09, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1499 from mholt/issue1394
Log certificate location
parents
2be0dc40
bcddfb2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
caddytls/filestorage.go
caddytls/filestorage.go
+2
-0
No files found.
caddytls/filestorage.go
View file @
52584f7f
...
@@ -3,6 +3,7 @@ package caddytls
...
@@ -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 {
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment