Mercurial > hg > nginx-quic
changeset 5811:f5b612019042
Stub status: corrected the "stub_status" directive.
The "stub_status" directive does not require an argument.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 26 Aug 2014 17:35:23 +0400 |
parents | 5322be87fc02 |
children | 954867a2f0a6 |
files | src/http/modules/ngx_http_stub_status_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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(ng 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,