diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2012-07-29 19:59:06 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2012-07-29 19:59:06 +0000 |
| commit | 1c31039d1e0cc8d06fe5cd2b6ad727d3c1c25853 (patch) | |
| tree | f7ae3c56e44b5bf45f6c3fe0ba3a2e24a705827c /src/http | |
| parent | 7f3a352e5a3aaf72a8fae7abfdb4cd9e0047aeb4 (diff) | |
| download | nginx-1c31039d1e0cc8d06fe5cd2b6ad727d3c1c25853.tar.gz nginx-1c31039d1e0cc8d06fe5cd2b6ad727d3c1c25853.tar.bz2 | |
Improved diagnostics when a directive is specified in the wrong context.
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_core_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
