comparison 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
comparison
equal deleted inserted replaced
4767:d9190c84e594 4768:1c5e2e4d5b35
220 NGX_HTTP_MAIN_CONF_OFFSET, 220 NGX_HTTP_MAIN_CONF_OFFSET,
221 offsetof(ngx_http_core_main_conf_t, server_names_hash_bucket_size), 221 offsetof(ngx_http_core_main_conf_t, server_names_hash_bucket_size),
222 NULL }, 222 NULL },
223 223
224 { ngx_string("server"), 224 { ngx_string("server"),
225 NGX_HTTP_MAIN_CONF|NGX_CONF_BLOCK|NGX_CONF_MULTI|NGX_CONF_NOARGS, 225 NGX_HTTP_MAIN_CONF|NGX_CONF_BLOCK|NGX_CONF_NOARGS,
226 ngx_http_core_server, 226 ngx_http_core_server,
227 0, 227 0,
228 0, 228 0,
229 NULL }, 229 NULL },
230 230