changeset 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 d7740f42b00a
files xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_memcached_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/en/docs/http/ngx_http_scgi_module.xml xml/en/docs/http/ngx_http_uwsgi_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_memcached_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_scgi_module.xml xml/ru/docs/http/ngx_http_uwsgi_module.xml
diffstat 10 files changed, 410 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml	Fri Sep 12 15:31:55 2014 +0400
+++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml	Fri Sep 12 16:38:33 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_fastcgi_module"
         link="/en/docs/http/ngx_http_fastcgi_module.html"
         lang="en"
-        rev="17">
+        rev="18">
 
 <section id="summary">
 
@@ -828,6 +828,46 @@
 are never considered unsuccessful attempts.
 </para>
 
+<para>
+Passing a request to the next server can be limited by
+<link id="fastcgi_next_upstream_tries">the number of tries</link>
+and by <link id="fastcgi_next_upstream_timeout">time</link>.
+</para>
+
+</directive>
+
+
+<directive name="fastcgi_next_upstream_timeout">
+<syntax><value>time</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Limits the time allowed to pass a request to the
+<link id="fastcgi_next_upstream">next server</link>.
+The <literal>0</literal> value turns off this limitation.
+</para>
+
+</directive>
+
+
+<directive name="fastcgi_next_upstream_tries">
+<syntax><value>number</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Limits the number of possible tries for passing a request to the
+<link id="fastcgi_next_upstream">next server</link>.
+The <literal>0</literal> value turns off this limitation.
+</para>
+
 </directive>
 
 
--- a/xml/en/docs/http/ngx_http_memcached_module.xml	Fri Sep 12 15:31:55 2014 +0400
+++ b/xml/en/docs/http/ngx_http_memcached_module.xml	Fri Sep 12 16:38:33 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_memcached_module"
         link="/en/docs/http/ngx_http_memcached_module.html"
         lang="en"
-        rev="8">
+        rev="9">
 
 <section id="summary">
 
@@ -173,6 +173,46 @@
 is never considered an unsuccessful attempt.
 </para>
 
+<para>
+Passing a request to the next server can be limited by
+<link id="memcached_next_upstream_tries">the number of tries</link>
+and by <link id="memcached_next_upstream_timeout">time</link>.
+</para>
+
+</directive>
+
+
+<directive name="memcached_next_upstream_timeout">
+<syntax><value>time</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Limits the time allowed to pass a request to the
+<link id="memcached_next_upstream">next server</link>.
+The <literal>0</literal> value turns off this limitation.
+</para>
+
+</directive>
+
+
+<directive name="memcached_next_upstream_tries">
+<syntax><value>number</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Limits the number of possible tries for passing a request to the
+<link id="memcached_next_upstream">next server</link>.
+The <literal>0</literal> value turns off this limitation.
+</para>
+
 </directive>
 
 
--- a/xml/en/docs/http/ngx_http_proxy_module.xml	Fri Sep 12 15:31:55 2014 +0400
+++ b/xml/en/docs/http/ngx_http_proxy_module.xml	Fri Sep 12 16:38:33 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_proxy_module"
         link="/en/docs/http/ngx_http_proxy_module.html"
         lang="en"
-        rev="23">
+        rev="24">
 
 <section id="summary">
 
@@ -973,6 +973,46 @@
 are never considered unsuccessful attempts.
 </para>
 
+<para>
+Passing a request to the next server can be limited by
+<link id="proxy_next_upstream_tries">the number of tries</link>
+and by <link id="proxy_next_upstream_timeout">time</link>.
+</para>
+
+</directive>
+
+
+<directive name="proxy_next_upstream_timeout">
+<syntax><value>time</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Limits the time allowed to pass a request to the
+<link id="proxy_next_upstream">next server</link>.
+The <literal>0</literal> value turns off this limitation.
+</para>
+
+</directive>
+
+
+<directive name="proxy_next_upstream_tries">
+<syntax><value>number</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Limits the number of possible tries for passing a request to the
+<link id="proxy_next_upstream">next server</link>.
+The <literal>0</literal> value turns off this limitation.
+</para>
+
 </directive>
 
 
--- a/xml/en/docs/http/ngx_http_scgi_module.xml	Fri Sep 12 15:31:55 2014 +0400
+++ b/xml/en/docs/http/ngx_http_scgi_module.xml	Fri Sep 12 16:38:33 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_scgi_module"
         link="/en/docs/http/ngx_http_scgi_module.html"
         lang="en"
-        rev="5">
+        rev="6">
 
 <section id="summary">
 
@@ -747,6 +747,46 @@
 are never considered unsuccessful attempts.
 </para>
 
+<para>
+Passing a request to the next server can be limited by
+<link id="scgi_next_upstream_tries">the number of tries</link>
+and by <link id="scgi_next_upstream_timeout">time</link>.
+</para>
+
+</directive>
+
+
+<directive name="scgi_next_upstream_timeout">
+<syntax><value>time</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Limits the time allowed to pass a request to the
+<link id="scgi_next_upstream">next server</link>.
+The <literal>0</literal> value turns off this limitation.
+</para>
+
+</directive>
+
+
+<directive name="scgi_next_upstream_tries">
+<syntax><value>number</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Limits the number of possible tries for passing a request to the
+<link id="scgi_next_upstream">next server</link>.
+The <literal>0</literal> value turns off this limitation.
+</para>
+
 </directive>
 
 
--- a/xml/en/docs/http/ngx_http_uwsgi_module.xml	Fri Sep 12 15:31:55 2014 +0400
+++ b/xml/en/docs/http/ngx_http_uwsgi_module.xml	Fri Sep 12 16:38:33 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_uwsgi_module"
         link="/en/docs/http/ngx_http_uwsgi_module.html"
         lang="en"
-        rev="6">
+        rev="7">
 
 <section id="summary">
 
@@ -777,6 +777,46 @@
 are never considered unsuccessful attempts.
 </para>
 
+<para>
+Passing a request to the next server can be limited by
+<link id="uwsgi_next_upstream_tries">the number of tries</link>
+and by <link id="uwsgi_next_upstream_timeout">time</link>.
+</para>
+
+</directive>
+
+
+<directive name="uwsgi_next_upstream_timeout">
+<syntax><value>time</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Limits the time allowed to pass a request to the
+<link id="uwsgi_next_upstream">next server</link>.
+The <literal>0</literal> value turns off this limitation.
+</para>
+
+</directive>
+
+
+<directive name="uwsgi_next_upstream_tries">
+<syntax><value>number</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Limits the number of possible tries for passing a request to the
+<link id="uwsgi_next_upstream">next server</link>.
+The <literal>0</literal> value turns off this limitation.
+</para>
+
 </directive>
 
 
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml	Fri Sep 12 15:31:55 2014 +0400
+++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml	Fri Sep 12 16:38:33 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_fastcgi_module"
         link="/ru/docs/http/ngx_http_fastcgi_module.html"
         lang="ru"
-        rev="17">
+        rev="18">
 
 <section id="summary">
 
@@ -825,6 +825,46 @@
 никогда не считаются неудачными попытками.
 </para>
 
+<para>
+Передача запроса следующему серверу может быть ограничена по
+<link id="fastcgi_next_upstream_tries">количеству попыток</link>
+и по <link id="fastcgi_next_upstream_timeout">времени</link>.
+</para>
+
+</directive>
+
+
+<directive name="fastcgi_next_upstream_timeout">
+<syntax><value>время</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Ограничивает время, в течение которого возможна передача запроса
+<link id="fastcgi_next_upstream">следующему серверу</link>.
+Значение <literal>0</literal> отключает это ограничение.
+</para>
+
+</directive>
+
+
+<directive name="fastcgi_next_upstream_tries">
+<syntax><value>число</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Ограничивает число допустимых попыток для передачи запроса
+<link id="fastcgi_next_upstream">следующему серверу</link>.
+Значение <literal>0</literal> отключает это ограничение.
+</para>
+
 </directive>
 
 
--- a/xml/ru/docs/http/ngx_http_memcached_module.xml	Fri Sep 12 15:31:55 2014 +0400
+++ b/xml/ru/docs/http/ngx_http_memcached_module.xml	Fri Sep 12 16:38:33 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_memcached_module"
         link="/ru/docs/http/ngx_http_memcached_module.html"
         lang="ru"
-        rev="8">
+        rev="9">
 
 <section id="summary">
 
@@ -172,6 +172,46 @@
 никогда не считается неудачной попыткой.
 </para>
 
+<para>
+Передача запроса следующему серверу может быть ограничена по
+<link id="memcached_next_upstream_tries">количеству попыток</link>
+и по <link id="memcached_next_upstream_timeout">времени</link>.
+</para>
+
+</directive>
+
+
+<directive name="memcached_next_upstream_timeout">
+<syntax><value>время</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Ограничивает время, в течение которого возможна передача запроса
+<link id="memcached_next_upstream">следующему серверу</link>.
+Значение <literal>0</literal> отключает это ограничение.
+</para>
+
+</directive>
+
+
+<directive name="memcached_next_upstream_tries">
+<syntax><value>число</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Ограничивает число допустимых попыток для передачи запроса
+<link id="memcached_next_upstream">следующему серверу</link>.
+Значение <literal>0</literal> отключает это ограничение.
+</para>
+
 </directive>
 
 
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml	Fri Sep 12 15:31:55 2014 +0400
+++ b/xml/ru/docs/http/ngx_http_proxy_module.xml	Fri Sep 12 16:38:33 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_proxy_module"
         link="/ru/docs/http/ngx_http_proxy_module.html"
         lang="ru"
-        rev="23">
+        rev="24">
 
 <section id="summary">
 
@@ -970,6 +970,46 @@
 никогда не считаются неудачными попытками.
 </para>
 
+<para>
+Передача запроса следующему серверу может быть ограничена по
+<link id="proxy_next_upstream_tries">количеству попыток</link>
+и по <link id="proxy_next_upstream_timeout">времени</link>.
+</para>
+
+</directive>
+
+
+<directive name="proxy_next_upstream_timeout">
+<syntax><value>время</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Ограничивает время, в течение которого возможна передача запроса
+<link id="proxy_next_upstream">следующему серверу</link>.
+Значение <literal>0</literal> отключает это ограничение.
+</para>
+
+</directive>
+
+
+<directive name="proxy_next_upstream_tries">
+<syntax><value>число</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Ограничивает число допустимых попыток для передачи запроса
+<link id="proxy_next_upstream">следующему серверу</link>.
+Значение <literal>0</literal> отключает это ограничение.
+</para>
+
 </directive>
 
 
--- a/xml/ru/docs/http/ngx_http_scgi_module.xml	Fri Sep 12 15:31:55 2014 +0400
+++ b/xml/ru/docs/http/ngx_http_scgi_module.xml	Fri Sep 12 16:38:33 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_scgi_module"
         link="/ru/docs/http/ngx_http_scgi_module.html"
         lang="ru"
-        rev="5">
+        rev="6">
 
 <section id="summary">
 
@@ -743,6 +743,46 @@
 никогда не считаются неудачными попытками.
 </para>
 
+<para>
+Передача запроса следующему серверу может быть ограничена по
+<link id="scgi_next_upstream_tries">количеству попыток</link>
+и по <link id="scgi_next_upstream_timeout">времени</link>.
+</para>
+
+</directive>
+
+
+<directive name="scgi_next_upstream_timeout">
+<syntax><value>время</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Ограничивает время, в течение которого возможна передача запроса
+<link id="scgi_next_upstream">следующему серверу</link>.
+Значение <literal>0</literal> отключает это ограничение.
+</para>
+
+</directive>
+
+
+<directive name="scgi_next_upstream_tries">
+<syntax><value>число</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Ограничивает число допустимых попыток для передачи запроса
+<link id="scgi_next_upstream">следующему серверу</link>.
+Значение <literal>0</literal> отключает это ограничение.
+</para>
+
 </directive>
 
 
--- a/xml/ru/docs/http/ngx_http_uwsgi_module.xml	Fri Sep 12 15:31:55 2014 +0400
+++ b/xml/ru/docs/http/ngx_http_uwsgi_module.xml	Fri Sep 12 16:38:33 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_uwsgi_module"
         link="/ru/docs/http/ngx_http_uwsgi_module.html"
         lang="ru"
-        rev="6">
+        rev="7">
 
 <section id="summary">
 
@@ -773,6 +773,46 @@
 никогда не считаются неудачными попытками.
 </para>
 
+<para>
+Передача запроса следующему серверу может быть ограничена по
+<link id="uwsgi_next_upstream_tries">количеству попыток</link>
+и по <link id="uwsgi_next_upstream_timeout">времени</link>.
+</para>
+
+</directive>
+
+
+<directive name="uwsgi_next_upstream_timeout">
+<syntax><value>время</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Ограничивает время, в течение которого возможна передача запроса
+<link id="uwsgi_next_upstream">следующему серверу</link>.
+Значение <literal>0</literal> отключает это ограничение.
+</para>
+
+</directive>
+
+
+<directive name="uwsgi_next_upstream_tries">
+<syntax><value>число</value></syntax>
+<default>0</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.7.5</appeared-in>
+
+<para>
+Ограничивает число допустимых попыток для передачи запроса
+<link id="uwsgi_next_upstream">следующему серверу</link>.
+Значение <literal>0</literal> отключает это ограничение.
+</para>
+
 </directive>