nginx-0.0.1-2003-01-10-20:45:47 import
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index df0f5b2..67a2542 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -101,7 +101,9 @@
ngx_log_debug(cf->log, "command '%s'" _ cmd->name.data);
- if (!(cmd->type & argument_number[cf->args->nelts - 1])) {
+ if (!(cmd->type & NGX_CONF_ANY)
+ && !(cmd->type & argument_number[cf->args->nelts - 1]))
+ {
ngx_log_error(NGX_LOG_EMERG, cf->log, 0,
"invalid number arguments in "
"directive \"%s\" in %s:%d",