# HG changeset patch # User Maxim Dounin # Date 1369902582 -14400 # Node ID e26a18eb5ccd3d02476e600485f594d38497034a # Parent 23082702f90d7cfbf36822e878ce678240d1461f Documented http_403 in proxy_next_upstream and friends. diff --git a/xml/en/docs/http/ngx_http_fastcgi_module.xml b/xml/en/docs/http/ngx_http_fastcgi_module.xml --- a/xml/en/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ + rev="8">
@@ -331,6 +331,7 @@ A pause is made between iterations, conf updating | http_500 | http_503 | + http_403 | http_404 | off ... @@ -645,6 +646,7 @@ Value of zero disables buffering of resp invalid_header | http_500 | http_503 | + http_403 | http_404 | off ... @@ -674,6 +676,9 @@ server, passing it a request, or reading http_503 a server returned a response with the code 503; +http_403 +a server returned a response with the code 403; + http_404 a server returned a response with the code 404; diff --git a/xml/en/docs/http/ngx_http_proxy_module.xml b/xml/en/docs/http/ngx_http_proxy_module.xml --- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="11">
@@ -374,6 +374,7 @@ A pause is made between iterations, conf http_502 | http_503 | http_504 | + http_403 | http_404 | off ... @@ -827,6 +828,7 @@ to the proxied server instead of the met http_502 | http_503 | http_504 | + http_403 | http_404 | off ... @@ -862,6 +864,9 @@ server, passing it a request, or reading http_504 a server returned a response with the code 504; +http_403 +a server returned a response with the code 403; + http_404 a server returned a response with the code 404; diff --git a/xml/en/docs/http/ngx_http_upstream_module.xml b/xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml +++ b/xml/en/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ + rev="3">
@@ -128,8 +128,9 @@ What is considered to be an unsuccessful , and directives. -The http_404 state is not considered -an unsuccessful attempt. +The http_403, http_404, +and not_found states are not considered as +unsuccessful attempts. fail_timeout=time diff --git a/xml/ru/docs/http/ngx_http_fastcgi_module.xml b/xml/ru/docs/http/ngx_http_fastcgi_module.xml --- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ + rev="8">
@@ -329,6 +329,7 @@ fastcgi_cache_path /data/nginx/cache lev updating | http_500 | http_503 | + http_403 | http_404 | off ... @@ -642,6 +643,7 @@ FastCGI-серверу оставлять соединения открытыми. invalid_header | http_500 | http_503 | + http_403 | http_404 | off ... @@ -671,6 +673,9 @@ FastCGI-серверу оставлять соединения открытыми. http_503 сервер вернул ответ с кодом 503; +http_403 +сервер вернул ответ с кодом 403; + http_404 сервер вернул ответ с кодом 404; diff --git a/xml/ru/docs/http/ngx_http_proxy_module.xml b/xml/ru/docs/http/ngx_http_proxy_module.xml --- a/xml/ru/docs/http/ngx_http_proxy_module.xml +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ + rev="11">
@@ -372,6 +372,7 @@ proxy_cache_path /data/nginx/cache level http_502 | http_503 | http_504 | + http_403 | http_404 | off ... @@ -824,6 +825,7 @@ nginx не передаёт клиенту поля заголовка
Date
, http_502 | http_503 | http_504 | + http_403 | http_404 | off ... @@ -859,6 +861,9 @@ nginx не передаёт клиенту поля заголовка
Date
, http_504 сервер вернул ответ с кодом 504; +http_403 +сервер вернул ответ с кодом 403; + http_404 сервер вернул ответ с кодом 404; diff --git a/xml/ru/docs/http/ngx_http_upstream_module.xml b/xml/ru/docs/http/ngx_http_upstream_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_module.xml +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ + rev="3">
@@ -129,8 +129,8 @@ 5 запросов на backend1.example.com , и . -Состояние http_404 -не считается неудачной попыткой. +Состояния http_403, http_404not_found не считаются неудачными попытками. fail_timeout=время