summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--caddy.go2
1 files changed, 1 insertions, 1 deletions
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)
}