diff src/http/ngx_http_core_module.c @ 4768:1c5e2e4d5b35

Improved diagnostics when a directive is specified in the wrong context.
author Ruslan Ermilov <ru@nginx.com>
date Sun, 29 Jul 2012 19:59:06 +0000
parents 613750237b36
children bdcdbdf35b52
line wrap: on
line diff
--- 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_comm
       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,