# HG changeset patch # User Ruslan Ermilov # Date 1409060223 -14400 # Node ID c9b202d6c4261437db34fb4cbbfc9d78cb9e25e6 # Parent 794717949a83c1187f4415b18ec0287205794899 Documented the new syntax of the "stub_status" directive. diff -r 794717949a83 -r c9b202d6c426 xml/en/docs/http/ngx_http_stub_status_module.xml --- a/xml/en/docs/http/ngx_http_stub_status_module.xml Mon Aug 18 12:27:33 2014 +0400 +++ b/xml/en/docs/http/ngx_http_stub_status_module.xml Tue Aug 26 17:37:03 2014 +0400 @@ -10,7 +10,7 @@ + rev="2">
@@ -33,7 +33,7 @@ location /basic_status { - stub_status on; + stub_status; } This configuration creates a simple web page @@ -52,14 +52,22 @@
-on | off -off + + +server location The basic status information will be accessible from the surrounding location. + + +In versions prior to 1.7.5, +the directive required an arbitrary argument. + + +
diff -r 794717949a83 -r c9b202d6c426 xml/ru/docs/http/ngx_http_stub_status_module.xml --- a/xml/ru/docs/http/ngx_http_stub_status_module.xml Mon Aug 18 12:27:33 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_stub_status_module.xml Tue Aug 26 17:37:03 2014 +0400 @@ -10,7 +10,7 @@ + rev="2">
@@ -33,7 +33,7 @@ location /basic_status { - stub_status on; + stub_status; } В данной конфигурации создаётся простая веб-страница @@ -52,14 +52,22 @@
-on | off -off + + +server location Информация о состоянии будет доступна из данного location. + + +До версии 1.7.5 +директива требовала наличия произвольного аргумента. + + +