Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_proxy_module.xml @ 1290:f5cc9f2aef9a
Proxy/memcached/fastcgi/scgi/uwsgi: _next_upstream_timeout,_next_upstream_tries.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 12 Sep 2014 16:38:33 +0400 |
parents | 57fc39924d42 |
children | c459ca97c14d |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_proxy_module.xml +++ b/xml/en/docs/http/ngx_http_proxy_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_proxy_module" link="/en/docs/http/ngx_http_proxy_module.html" lang="en" - rev="23"> + rev="24"> <section id="summary"> @@ -973,6 +973,46 @@ The cases of <literal>http_403</literal> are never considered unsuccessful attempts. </para> +<para> +Passing a request to the next server can be limited by +<link id="proxy_next_upstream_tries">the number of tries</link> +and by <link id="proxy_next_upstream_timeout">time</link>. +</para> + +</directive> + + +<directive name="proxy_next_upstream_timeout"> +<syntax><value>time</value></syntax> +<default>0</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.7.5</appeared-in> + +<para> +Limits the time allowed to pass a request to the +<link id="proxy_next_upstream">next server</link>. +The <literal>0</literal> value turns off this limitation. +</para> + +</directive> + + +<directive name="proxy_next_upstream_tries"> +<syntax><value>number</value></syntax> +<default>0</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.7.5</appeared-in> + +<para> +Limits the number of possible tries for passing a request to the +<link id="proxy_next_upstream">next server</link>. +The <literal>0</literal> value turns off this limitation. +</para> + </directive>