summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/fileserver/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/fileserver/command.go')
-rw-r--r--modules/caddyhttp/fileserver/command.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/fileserver/command.go b/modules/caddyhttp/fileserver/command.go
index ac580b6..17274da 100644
--- a/modules/caddyhttp/fileserver/command.go
+++ b/modules/caddyhttp/fileserver/command.go
@@ -92,6 +92,7 @@ func cmdFileServer(fs caddycmd.Flags) (int, error) {
}
cfg := &caddy.Config{
+ Admin: &caddy.AdminConfig{Disabled: true},
AppsRaw: map[string]json.RawMessage{
"http": caddyconfig.JSON(httpApp, nil),
},