Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 942:ba3d6ade3513
Elaborate on upstream server failures.
Documented that {proxy,fastcgi,memcached}_next_upstream directives define
what is considered an unsuccessful attempt of communication with a server.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 05 Jul 2013 10:40:38 +0400 |
parents | e26a18eb5ccd |
children | aded7086e84f |
comparison
equal
deleted
inserted
replaced
941:7d1d53d4d293 | 942:ba3d6ade3513 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_upstream_module" | 10 <module name="Module ngx_http_upstream_module" |
11 link="/en/docs/http/ngx_http_upstream_module.html" | 11 link="/en/docs/http/ngx_http_upstream_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="3"> | 13 rev="4"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_upstream_module</literal> module | 18 The <literal>ngx_http_upstream_module</literal> module |
121 during a time set by the <literal>fail_timeout</literal> parameter | 121 during a time set by the <literal>fail_timeout</literal> parameter |
122 after which it will be considered down for a period of time also set | 122 after which it will be considered down for a period of time also set |
123 by the <literal>fail_timeout</literal> parameter. | 123 by the <literal>fail_timeout</literal> parameter. |
124 By default, the number of unsuccessful attempts is set to 1. | 124 By default, the number of unsuccessful attempts is set to 1. |
125 A value of zero disables accounting of attempts. | 125 A value of zero disables accounting of attempts. |
126 What is considered to be an unsuccessful attempt is configured by the | 126 What is considered an unsuccessful attempt is defined by the |
127 <link doc="ngx_http_proxy_module.xml" id="proxy_next_upstream"/>, | 127 <link doc="ngx_http_proxy_module.xml" id="proxy_next_upstream"/>, |
128 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_next_upstream"/>, and | 128 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_next_upstream"/>, and |
129 <link doc="ngx_http_memcached_module.xml" id="memcached_next_upstream"/> | 129 <link doc="ngx_http_memcached_module.xml" id="memcached_next_upstream"/> |
130 directives. | 130 directives. |
131 The <literal>http_403</literal>, <literal>http_404</literal>, | |
132 and <literal>not_found</literal> states are not considered as | |
133 unsuccessful attempts. | |
134 </tag-desc> | 131 </tag-desc> |
135 | 132 |
136 <tag-name><literal>fail_timeout</literal>=<value>time</value></tag-name> | 133 <tag-name><literal>fail_timeout</literal>=<value>time</value></tag-name> |
137 <tag-desc> | 134 <tag-desc> |
138 sets | 135 sets |