From 244b839f9813ae68c5527e6aadadaff0642c1a00 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 31 Mar 2020 17:56:36 -0600 Subject: pki: Add trust subcommand to install root cert (closes #3204) --- storage.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'storage.go') 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()} -- cgit v1.2.3