Mercurial > hg > nginx-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
1289:57fc39924d42 | 1290:f5cc9f2aef9a |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_fastcgi_module" | 10 <module name="Module ngx_http_fastcgi_module" |
11 link="/en/docs/http/ngx_http_fastcgi_module.html" | 11 link="/en/docs/http/ngx_http_fastcgi_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="17"> | 13 rev="18"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_fastcgi_module</literal> module allows passing | 18 The <literal>ngx_http_fastcgi_module</literal> module allows passing |
826 considered unsuccessful attempts only if they are specified in the directive. | 826 considered unsuccessful attempts only if they are specified in the directive. |
827 The cases of <literal>http_403</literal> and <literal>http_404</literal> | 827 The cases of <literal>http_403</literal> and <literal>http_404</literal> |
828 are never considered unsuccessful attempts. | 828 are never considered unsuccessful attempts. |
829 </para> | 829 </para> |
830 | 830 |
831 <para> | |
832 Passing a request to the next server can be limited by | |
833 <link id="fastcgi_next_upstream_tries">the number of tries</link> | |
834 and by <link id="fastcgi_next_upstream_timeout">time</link>. | |
835 </para> | |
836 | |
837 </directive> | |
838 | |
839 | |
840 <directive name="fastcgi_next_upstream_timeout"> | |
841 <syntax><value>time</value></syntax> | |
842 <default>0</default> | |
843 <context>http</context> | |
844 <context>server</context> | |
845 <context>location</context> | |
846 <appeared-in>1.7.5</appeared-in> | |
847 | |
848 <para> | |
849 Limits the time allowed to pass a request to the | |
850 <link id="fastcgi_next_upstream">next server</link>. | |
851 The <literal>0</literal> value turns off this limitation. | |
852 </para> | |
853 | |
854 </directive> | |
855 | |
856 | |
857 <directive name="fastcgi_next_upstream_tries"> | |
858 <syntax><value>number</value></syntax> | |
859 <default>0</default> | |
860 <context>http</context> | |
861 <context>server</context> | |
862 <context>location</context> | |
863 <appeared-in>1.7.5</appeared-in> | |
864 | |
865 <para> | |
866 Limits the number of possible tries for passing a request to the | |
867 <link id="fastcgi_next_upstream">next server</link>. | |
868 The <literal>0</literal> value turns off this limitation. | |
869 </para> | |
870 | |
831 </directive> | 871 </directive> |
832 | 872 |
833 | 873 |
834 <directive name="fastcgi_no_cache"> | 874 <directive name="fastcgi_no_cache"> |
835 <syntax><value>string</value> ...</syntax> | 875 <syntax><value>string</value> ...</syntax> |