changeset 2434:a1f61586779b

Listed not supported load balancing methods in upstream backup.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 25 Sep 2019 16:06:51 +0300
parents aa20cba8027c
children f07f03b8413b
files xml/en/docs/http/ngx_http_upstream_module.xml xml/en/docs/stream/ngx_stream_upstream_module.xml xml/ru/docs/http/ngx_http_upstream_module.xml xml/ru/docs/stream/ngx_stream_upstream_module.xml
diffstat 4 files changed, 22 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_upstream_module.xml
+++ b/xml/en/docs/http/ngx_http_upstream_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_upstream_module"
         link="/en/docs/http/ngx_http_upstream_module.html"
         lang="en"
-        rev="80">
+        rev="81">
 
 <section id="summary">
 
@@ -221,6 +221,11 @@ By default, the parameter is set to 10 s
 <tag-desc>
 marks the server as a backup server.
 It will be passed requests when the primary servers are unavailable.
+<note>
+The parameter cannot be used along with the
+<link id="hash"/>, <link id="ip_hash"/>, and <link id="random"/>
+load balancing methods.
+</note>
 </tag-desc>
 
 <tag-name id="down">
--- a/xml/en/docs/stream/ngx_stream_upstream_module.xml
+++ b/xml/en/docs/stream/ngx_stream_upstream_module.xml
@@ -9,7 +9,7 @@
 <module name="Module ngx_stream_upstream_module"
         link="/en/docs/stream/ngx_stream_upstream_module.html"
         lang="en"
-        rev="36">
+        rev="37">
 
 <section id="summary">
 
@@ -202,6 +202,10 @@ By default, the parameter is set to 10 s
 marks the server as a backup server.
 Connections to the backup server will be passed
 when the primary servers are unavailable.
+<note>
+The parameter cannot be used along with the
+<link id="hash"/> and <link id="random"/> load balancing methods.
+</note>
 </tag-desc>
 
 <tag-name id="down">
--- a/xml/ru/docs/http/ngx_http_upstream_module.xml
+++ b/xml/ru/docs/http/ngx_http_upstream_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_upstream_module"
         link="/ru/docs/http/ngx_http_upstream_module.html"
         lang="ru"
-        rev="80">
+        rev="81">
 
 <section id="summary">
 
@@ -224,6 +224,11 @@ 5 запросов на <literal>backend1.example.com</literal>
 <tag-desc>
 помечает сервер как запасной сервер.
 На него будут передаваться запросы в случае, если не работают основные серверы.
+<note>
+Параметр нельзя использовать совместно с
+методами балансировки нагрузки
+<link id="hash"/>, <link id="ip_hash"/> и <link id="random"/>.
+</note>
 </tag-desc>
 
 <tag-name id="down">
--- a/xml/ru/docs/stream/ngx_stream_upstream_module.xml
+++ b/xml/ru/docs/stream/ngx_stream_upstream_module.xml
@@ -9,7 +9,7 @@
 <module name="Модуль ngx_stream_upstream_module"
         link="/ru/docs/stream/ngx_stream_upstream_module.html"
         lang="ru"
-        rev="36">
+        rev="37">
 
 <section id="summary">
 
@@ -203,6 +203,10 @@ 5 соединений на <literal>backend1.example.com:12345</literal>
 помечает сервер как запасной сервер.
 На него будут передаваться соединения в случае,
 если не работают основные серверы.
+<note>
+Параметр нельзя использовать совместно с
+методами балансировки нагрузки <link id="hash"/> и <link id="random"/>.
+</note>
 </tag-desc>
 
 <tag-name id="down">