diff options
author | Matthew Holt <[email protected]> | 2020-03-31 17:56:36 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2020-03-31 17:56:36 -0600 |
commit | 244b839f9813ae68c5527e6aadadaff0642c1a00 (patch) | |
tree | 66c0df8bbf728eed7c511f1023e84b6d4d34ac31 /storage.go | |
parent | 904d9cab390007610a65f648d05314f5826c3979 (diff) | |
download | caddy-244b839f9813ae68c5527e6aadadaff0642c1a00.tar.gz caddy-244b839f9813ae68c5527e6aadadaff0642c1a00.zip |
pki: Add trust subcommand to install root cert (closes #3204)
Diffstat (limited to 'storage.go')
-rw-r--r-- | storage.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage.go b/storage.go index f227269cb..62f9b1c65 100644 --- a/storage.go +++ b/storage.go @@ -155,3 +155,6 @@ func AppDataDir() string { // ConfigAutosavePath is the default path to which the last config will be persisted. var ConfigAutosavePath = filepath.Join(AppConfigDir(), "autosave.json") + +// DefaultStorage is Caddy's default storage module. +var DefaultStorage = &certmagic.FileStorage{Path: AppDataDir()} |