summaryrefslogtreecommitdiffhomepage
path: root/caddy.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2020-03-31 17:56:36 -0600
committerMatthew Holt <[email protected]>2020-03-31 17:56:36 -0600
commit244b839f9813ae68c5527e6aadadaff0642c1a00 (patch)
tree66c0df8bbf728eed7c511f1023e84b6d4d34ac31 /caddy.go
parent904d9cab390007610a65f648d05314f5826c3979 (diff)
downloadcaddy-244b839f9813ae68c5527e6aadadaff0642c1a00.tar.gz
caddy-244b839f9813ae68c5527e6aadadaff0642c1a00.zip
pki: Add trust subcommand to install root cert (closes #3204)
Diffstat (limited to 'caddy.go')
-rw-r--r--caddy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddy.go b/caddy.go
index 1f9018a18..00a56e744 100644
--- a/caddy.go
+++ b/caddy.go
@@ -372,7 +372,7 @@ func run(newCfg *Config, start bool) error {
}
if newCfg.storage == nil {
- newCfg.storage = &certmagic.FileStorage{Path: AppDataDir()}
+ newCfg.storage = DefaultStorage
}
certmagic.Default.Storage = newCfg.storage