This commit is contained in:
a 2024-09-17 16:46:56 -05:00
parent 447066e7c2
commit 98ad0a1fd2
No known key found for this signature in database
GPG Key ID: 374BC539FE795AF0

View File

@ -274,7 +274,7 @@ func (st ServerType) Setup(
if !reflect.DeepEqual(pkiApp, &caddypki.PKI{CAs: make(map[string]*caddypki.CA)}) { if !reflect.DeepEqual(pkiApp, &caddypki.PKI{CAs: make(map[string]*caddypki.CA)}) {
cfg.AppsRaw["pki"] = caddyconfig.JSON(pkiApp, &warnings) cfg.AppsRaw["pki"] = caddyconfig.JSON(pkiApp, &warnings)
} }
if filesystems, ok := options["file_systems"].(caddy.Module); ok { if filesystems, ok := options["filesystem"].(caddy.Module); ok {
cfg.AppsRaw["file_systems"] = caddyconfig.JSON( cfg.AppsRaw["file_systems"] = caddyconfig.JSON(
filesystems, filesystems,
&warnings) &warnings)