diff --git a/caddy/filemanager/filemanager.go b/caddy/filemanager/filemanager.go index c7b686e4..c138a5c3 100644 --- a/caddy/filemanager/filemanager.go +++ b/caddy/filemanager/filemanager.go @@ -77,7 +77,7 @@ func parse(c *caddy.Controller) ([]*config, error) { // Get the baseURL and baseScope args := c.RemainingArgs() - if len(args) == 1 { + if len(args) >= 1 { baseURL = args[0] }