From 1c31039d1e0cc8d06fe5cd2b6ad727d3c1c25853 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sun, 29 Jul 2012 19:59:06 +0000 Subject: Improved diagnostics when a directive is specified in the wrong context. --- src/http/ngx_http_core_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http') diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index a8177aef7..ecc0a2f25 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -222,7 +222,7 @@ static ngx_command_t ngx_http_core_commands[] = { NULL }, { ngx_string("server"), - NGX_HTTP_MAIN_CONF|NGX_CONF_BLOCK|NGX_CONF_MULTI|NGX_CONF_NOARGS, + NGX_HTTP_MAIN_CONF|NGX_CONF_BLOCK|NGX_CONF_NOARGS, ngx_http_core_server, 0, 0, -- cgit