diff src/http/ngx_http_core_module.c @ 4803:92a620dd8036 stable-1.2

Merge of r4769: better diagnostics for directives in wrong context.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 06 Aug 2012 17:31:32 +0000
parents 7d0c7bf2874d
children 43b7b9572fe1
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,