summaryrefslogtreecommitdiff
path: root/storage.go
diff options
context:
space:
mode:
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()}