comparison xml/en/docs/http/ngx_http_scgi_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_scgi_module" 10 <module name="Module ngx_http_scgi_module"
11 link="/en/docs/http/ngx_http_scgi_module.html" 11 link="/en/docs/http/ngx_http_scgi_module.html"
12 lang="en" 12 lang="en"
13 rev="5"> 13 rev="6">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_scgi_module</literal> module allows passing 18 The <literal>ngx_http_scgi_module</literal> module allows passing
745 considered unsuccessful attempts only if they are specified in the directive. 745 considered unsuccessful attempts only if they are specified in the directive.
746 The cases of <literal>http_403</literal> and <literal>http_404</literal> 746 The cases of <literal>http_403</literal> and <literal>http_404</literal>
747 are never considered unsuccessful attempts. 747 are never considered unsuccessful attempts.
748 </para> 748 </para>
749 749
750 <para>
751 Passing a request to the next server can be limited by
752 <link id="scgi_next_upstream_tries">the number of tries</link>
753 and by <link id="scgi_next_upstream_timeout">time</link>.
754 </para>
755
756 </directive>
757
758
759 <directive name="scgi_next_upstream_timeout">
760 <syntax><value>time</value></syntax>
761 <default>0</default>
762 <context>http</context>
763 <context>server</context>
764 <context>location</context>
765 <appeared-in>1.7.5</appeared-in>
766
767 <para>
768 Limits the time allowed to pass a request to the
769 <link id="scgi_next_upstream">next server</link>.
770 The <literal>0</literal> value turns off this limitation.
771 </para>
772
773 </directive>
774
775
776 <directive name="scgi_next_upstream_tries">
777 <syntax><value>number</value></syntax>
778 <default>0</default>
779 <context>http</context>
780 <context>server</context>
781 <context>location</context>
782 <appeared-in>1.7.5</appeared-in>
783
784 <para>
785 Limits the number of possible tries for passing a request to the
786 <link id="scgi_next_upstream">next server</link>.
787 The <literal>0</literal> value turns off this limitation.
788 </para>
789
750 </directive> 790 </directive>
751 791
752 792
753 <directive name="scgi_no_cache"> 793 <directive name="scgi_no_cache">
754 <syntax><value>string</value> ...</syntax> 794 <syntax><value>string</value> ...</syntax>