summaryrefslogtreecommitdiff
path: root/storage.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-03-31 17:56:36 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-03-31 17:56:36 -0600
commit244b839f9813ae68c5527e6aadadaff0642c1a00 (patch)
tree66c0df8bbf728eed7c511f1023e84b6d4d34ac31 /storage.go
parent904d9cab390007610a65f648d05314f5826c3979 (diff)
pki: Add trust subcommand to install root cert (closes #3204)
Diffstat (limited to 'storage.go')
-rw-r--r--storage.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage.go b/storage.go
index f227269..62f9b1c 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()}