Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_fastcgi_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 | 91a064bdb4f9 |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_fastcgi_module" link="/en/docs/http/ngx_http_fastcgi_module.html" lang="en" - rev="17"> + rev="18"> <section id="summary"> @@ -828,6 +828,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="fastcgi_next_upstream_tries">the number of tries</link> +and by <link id="fastcgi_next_upstream_timeout">time</link>. +</para> + +</directive> + + +<directive name="fastcgi_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="fastcgi_next_upstream">next server</link>. +The <literal>0</literal> value turns off this limitation. +</para> + +</directive> + + +<directive name="fastcgi_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="fastcgi_next_upstream">next server</link>. +The <literal>0</literal> value turns off this limitation. +</para> + </directive>