Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_fastcgi_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 | 95c3c3bbf1ce |
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_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="8"> | 13 rev="9"> |
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 to pass | 18 The <literal>ngx_http_fastcgi_module</literal> module allows to pass |
693 only possible if a client was not sent anything yet. | 693 only possible if a client was not sent anything yet. |
694 That is, if an error or a timeout occurs in the middle of | 694 That is, if an error or a timeout occurs in the middle of |
695 transferring a response, fixing this is impossible. | 695 transferring a response, fixing this is impossible. |
696 </para> | 696 </para> |
697 | 697 |
698 <para> | |
699 The directive also defines what is considered an unsuccessful attempt | |
700 of communication with a | |
701 <link doc="ngx_http_upstream_module.xml" id="server"/>. | |
702 The cases of <literal>error</literal>, <literal>timeout</literal> and | |
703 <literal>invalid_header</literal> are always considered unsuccessful attempts, | |
704 even if they are not specified in the directive. | |
705 The cases of <literal>http_500</literal> and <literal>http_503</literal> are | |
706 considered unsuccessful attempts only if they are specified in the directive. | |
707 The cases of <literal>http_403</literal> and <literal>http_404</literal> | |
708 are never considered unsuccessful attempts. | |
709 </para> | |
710 | |
698 </directive> | 711 </directive> |
699 | 712 |
700 | 713 |
701 <directive name="fastcgi_no_cache"> | 714 <directive name="fastcgi_no_cache"> |
702 <syntax><value>string</value> ...</syntax> | 715 <syntax><value>string</value> ...</syntax> |