diff --git a/modules/caddyhttp/fileserver/command.go b/modules/caddyhttp/fileserver/command.go
index ac580b6a9..17274dac0 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),
 		},
diff --git a/modules/caddyhttp/reverseproxy/command.go b/modules/caddyhttp/reverseproxy/command.go
index 0c6742837..0ddb8f2f6 100644
--- a/modules/caddyhttp/reverseproxy/command.go
+++ b/modules/caddyhttp/reverseproxy/command.go
@@ -137,6 +137,7 @@ func cmdReverseProxy(fs caddycmd.Flags) (int, error) {
 	}
 
 	cfg := &caddy.Config{
+		Admin: &caddy.AdminConfig{Disabled: true},
 		AppsRaw: map[string]json.RawMessage{
 			"http": caddyconfig.JSON(httpApp, nil),
 		},