Mercurial > hg > nginx-site
comparison 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 |
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_proxy_module" | 10 <module name="Module ngx_http_proxy_module" |
11 link="/en/docs/http/ngx_http_proxy_module.html" | 11 link="/en/docs/http/ngx_http_proxy_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="23"> | 13 rev="24"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_proxy_module</literal> module allows passing | 18 The <literal>ngx_http_proxy_module</literal> module allows passing |
971 considered unsuccessful attempts only if they are specified in the directive. | 971 considered unsuccessful attempts only if they are specified in the directive. |
972 The cases of <literal>http_403</literal> and <literal>http_404</literal> | 972 The cases of <literal>http_403</literal> and <literal>http_404</literal> |
973 are never considered unsuccessful attempts. | 973 are never considered unsuccessful attempts. |
974 </para> | 974 </para> |
975 | 975 |
976 <para> | |
977 Passing a request to the next server can be limited by | |
978 <link id="proxy_next_upstream_tries">the number of tries</link> | |
979 and by <link id="proxy_next_upstream_timeout">time</link>. | |
980 </para> | |
981 | |
982 </directive> | |
983 | |
984 | |
985 <directive name="proxy_next_upstream_timeout"> | |
986 <syntax><value>time</value></syntax> | |
987 <default>0</default> | |
988 <context>http</context> | |
989 <context>server</context> | |
990 <context>location</context> | |
991 <appeared-in>1.7.5</appeared-in> | |
992 | |
993 <para> | |
994 Limits the time allowed to pass a request to the | |
995 <link id="proxy_next_upstream">next server</link>. | |
996 The <literal>0</literal> value turns off this limitation. | |
997 </para> | |
998 | |
999 </directive> | |
1000 | |
1001 | |
1002 <directive name="proxy_next_upstream_tries"> | |
1003 <syntax><value>number</value></syntax> | |
1004 <default>0</default> | |
1005 <context>http</context> | |
1006 <context>server</context> | |
1007 <context>location</context> | |
1008 <appeared-in>1.7.5</appeared-in> | |
1009 | |
1010 <para> | |
1011 Limits the number of possible tries for passing a request to the | |
1012 <link id="proxy_next_upstream">next server</link>. | |
1013 The <literal>0</literal> value turns off this limitation. | |
1014 </para> | |
1015 | |
976 </directive> | 1016 </directive> |
977 | 1017 |
978 | 1018 |
979 <directive name="proxy_no_cache"> | 1019 <directive name="proxy_no_cache"> |
980 <syntax><value>string</value> ...</syntax> | 1020 <syntax><value>string</value> ...</syntax> |