Mercurial > hg > nginx-site
changeset 917:e26a18eb5ccd
Documented http_403 in proxy_next_upstream and friends.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 30 May 2013 12:29:42 +0400 |
parents | 23082702f90d |
children | ae785c6aaa91 |
files | xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/en/docs/http/ngx_http_upstream_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_upstream_module.xml |
diffstat | 6 files changed, 31 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Wed May 29 16:19:08 2013 +0000 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Thu May 30 12:29:42 2013 +0400 @@ -10,7 +10,7 @@ <module name="Module ngx_http_fastcgi_module" link="/en/docs/http/ngx_http_fastcgi_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -331,6 +331,7 @@ <literal>updating</literal> | <literal>http_500</literal> | <literal>http_503</literal> | + <literal>http_403</literal> | <literal>http_404</literal> | <literal>off</literal> ...</syntax> @@ -645,6 +646,7 @@ <literal>invalid_header</literal> | <literal>http_500</literal> | <literal>http_503</literal> | + <literal>http_403</literal> | <literal>http_404</literal> | <literal>off</literal> ...</syntax> @@ -674,6 +676,9 @@ <tag-name><literal>http_503</literal></tag-name> <tag-desc>a server returned a response with the code 503;</tag-desc> +<tag-name><literal>http_403</literal></tag-name> +<tag-desc>a server returned a response with the code 403;</tag-desc> + <tag-name><literal>http_404</literal></tag-name> <tag-desc>a server returned a response with the code 404;</tag-desc>
--- a/xml/en/docs/http/ngx_http_proxy_module.xml Wed May 29 16:19:08 2013 +0000 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Thu May 30 12:29:42 2013 +0400 @@ -10,7 +10,7 @@ <module name="Module ngx_http_proxy_module" link="/en/docs/http/ngx_http_proxy_module.html" lang="en" - rev="10"> + rev="11"> <section id="summary"> @@ -374,6 +374,7 @@ <literal>http_502</literal> | <literal>http_503</literal> | <literal>http_504</literal> | + <literal>http_403</literal> | <literal>http_404</literal> | <literal>off</literal> ...</syntax> @@ -827,6 +828,7 @@ <literal>http_502</literal> | <literal>http_503</literal> | <literal>http_504</literal> | + <literal>http_403</literal> | <literal>http_404</literal> | <literal>off</literal> ...</syntax> @@ -862,6 +864,9 @@ <tag-name><literal>http_504</literal></tag-name> <tag-desc>a server returned a response with the code 504;</tag-desc> +<tag-name><literal>http_403</literal></tag-name> +<tag-desc>a server returned a response with the code 403;</tag-desc> + <tag-name><literal>http_404</literal></tag-name> <tag-desc>a server returned a response with the code 404;</tag-desc>
--- a/xml/en/docs/http/ngx_http_upstream_module.xml Wed May 29 16:19:08 2013 +0000 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml Thu May 30 12:29:42 2013 +0400 @@ -10,7 +10,7 @@ <module name="Module ngx_http_upstream_module" link="/en/docs/http/ngx_http_upstream_module.html" lang="en" - rev="2"> + rev="3"> <section id="summary"> @@ -128,8 +128,9 @@ <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_next_upstream"/>, and <link doc="ngx_http_memcached_module.xml" id="memcached_next_upstream"/> directives. -The <literal>http_404</literal> state is not considered -an unsuccessful attempt. +The <literal>http_403</literal>, <literal>http_404</literal>, +and <literal>not_found</literal> states are not considered as +unsuccessful attempts. </tag-desc> <tag-name><literal>fail_timeout</literal>=<value>time</value></tag-name>
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Wed May 29 16:19:08 2013 +0000 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Thu May 30 12:29:42 2013 +0400 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_fastcgi_module" link="/ru/docs/http/ngx_http_fastcgi_module.html" lang="ru" - rev="7"> + rev="8"> <section id="summary"> @@ -329,6 +329,7 @@ <literal>updating</literal> | <literal>http_500</literal> | <literal>http_503</literal> | + <literal>http_403</literal> | <literal>http_404</literal> | <literal>off</literal> ...</syntax> @@ -642,6 +643,7 @@ <literal>invalid_header</literal> | <literal>http_500</literal> | <literal>http_503</literal> | + <literal>http_403</literal> | <literal>http_404</literal> | <literal>off</literal> ...</syntax> @@ -671,6 +673,9 @@ <tag-name><literal>http_503</literal></tag-name> <tag-desc>сервер вернул ответ с кодом 503;</tag-desc> +<tag-name><literal>http_403</literal></tag-name> +<tag-desc>сервер вернул ответ с кодом 403;</tag-desc> + <tag-name><literal>http_404</literal></tag-name> <tag-desc>сервер вернул ответ с кодом 404;</tag-desc>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml Wed May 29 16:19:08 2013 +0000 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Thu May 30 12:29:42 2013 +0400 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_proxy_module" link="/ru/docs/http/ngx_http_proxy_module.html" lang="ru" - rev="10"> + rev="11"> <section id="summary"> @@ -372,6 +372,7 @@ <literal>http_502</literal> | <literal>http_503</literal> | <literal>http_504</literal> | + <literal>http_403</literal> | <literal>http_404</literal> | <literal>off</literal> ...</syntax> @@ -824,6 +825,7 @@ <literal>http_502</literal> | <literal>http_503</literal> | <literal>http_504</literal> | + <literal>http_403</literal> | <literal>http_404</literal> | <literal>off</literal> ...</syntax> @@ -859,6 +861,9 @@ <tag-name><literal>http_504</literal></tag-name> <tag-desc>сервер вернул ответ с кодом 504;</tag-desc> +<tag-name><literal>http_403</literal></tag-name> +<tag-desc>сервер вернул ответ с кодом 403;</tag-desc> + <tag-name><literal>http_404</literal></tag-name> <tag-desc>сервер вернул ответ с кодом 404;</tag-desc>
--- a/xml/ru/docs/http/ngx_http_upstream_module.xml Wed May 29 16:19:08 2013 +0000 +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml Thu May 30 12:29:42 2013 +0400 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_upstream_module" link="/ru/docs/http/ngx_http_upstream_module.html" lang="ru" - rev="2"> + rev="3"> <section id="summary"> @@ -129,8 +129,8 @@ <link doc="ngx_http_proxy_module.xml" id="proxy_next_upstream"/>, <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_next_upstream"/> и <link doc="ngx_http_memcached_module.xml" id="memcached_next_upstream"/>. -Состояние <literal>http_404</literal> -не считается неудачной попыткой. +Состояния <literal>http_403</literal>, <literal>http_404</literal> +и <literal>not_found</literal> не считаются неудачными попытками. </tag-desc> <tag-name><literal>fail_timeout</literal>=<value>время</value></tag-name>