mirror of
https://github.com/nginx/nginx.git
synced 2026-06-27 04:12:05 +00:00
Stub status: corrected the "stub_status" directive.
The "stub_status" directive does not require an argument.
This commit is contained in:
parent
9fb2b9287d
commit
8607e64b83
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue