From 7512ea1a644e53ec5d2dacaf3c346ed5d89cf233 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 3 Jul 2019 10:40:25 -0600 Subject: Change storage module key from "system" to "module" --- caddy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddy.go b/caddy.go index 8a24166..c6d810d 100644 --- a/caddy.go +++ b/caddy.go @@ -84,7 +84,7 @@ func Run(newCfg *Config) error { // set up storage and make it CertMagic's default storage, too err = func() error { if newCfg.StorageRaw != nil { - val, err := ctx.LoadModuleInline("system", "caddy.storage", newCfg.StorageRaw) + val, err := ctx.LoadModuleInline("module", "caddy.storage", newCfg.StorageRaw) if err != nil { return fmt.Errorf("loading storage module: %v", err) } -- cgit v1.2.3