comparison src/http/modules/ngx_http_stub_status_module.c @ 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 dc7c139fca21
children b1858fc47e3b
comparison
equal deleted inserted replaced
5810:5322be87fc02 5811:f5b612019042
19 19
20 20
21 static ngx_command_t ngx_http_status_commands[] = { 21 static ngx_command_t ngx_http_status_commands[] = {
22 22
23 { ngx_string("stub_status"), 23 { ngx_string("stub_status"),
24 NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, 24 NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_NOARGS|NGX_CONF_TAKE1,
25 ngx_http_set_stub_status, 25 ngx_http_set_stub_status,
26 0, 26 0,
27 0, 27 0,
28 NULL }, 28 NULL },
29 29