diff options
author | Ruslan Ermilov <ru@nginx.com> | 2014-08-26 17:35:23 +0400 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2014-08-26 17:35:23 +0400 |
commit | 8607e64b83fc66030234dc7d3837079e85ba58a2 (patch) | |
tree | c96ff5c2069d9fdae2c414d805bb865d1605db77 /src | |
parent | 9fb2b9287d5be640ac6bfaa5f7885d439618256a (diff) | |
download | nginx-8607e64b83fc66030234dc7d3837079e85ba58a2.tar.gz nginx-8607e64b83fc66030234dc7d3837079e85ba58a2.zip |
Stub status: corrected the "stub_status" directive.
The "stub_status" directive does not require an argument.
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_stub_status_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_stub_status_module.c b/src/http/modules/ngx_http_stub_status_module.c index f4f5888b6..dd6835898 100644 --- a/src/http/modules/ngx_http_stub_status_module.c +++ b/src/http/modules/ngx_http_stub_status_module.c @@ -21,7 +21,7 @@ static char *ngx_http_set_stub_status(ngx_conf_t *cf, ngx_command_t *cmd, static ngx_command_t ngx_http_status_commands[] = { { ngx_string("stub_status"), - NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, + NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_NOARGS|NGX_CONF_TAKE1, ngx_http_set_stub_status, 0, 0, |