diff xml/en/docs/http/ngx_http_upstream_module.xml @ 2470:504536999408

Added upstream resolver info to upstream server resolve parameter.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 04 Dec 2019 15:36:40 +0300
parents 98fd810c13e0
children fdfe54a01ea1
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="83">
+        rev="84">
 
 <section id="summary">
 
@@ -255,21 +255,10 @@ without the need of restarting nginx (1.
 The server group must reside in the <link id="zone">shared memory</link>.
 <para>
 In order for this parameter to work,
-the <link doc="ngx_http_core_module.xml" id="resolver"/> directive
+the <literal>resolver</literal> directive
 must be specified in the
-<link doc="ngx_http_core_module.xml" id="http"/> block.
-Example:
-<example>
-http {
-    resolver 10.0.0.1;
-
-    upstream u {
-        zone ...;
-        ...
-        server example.com resolve;
-    }
-}
-</example>
+<link doc="ngx_http_core_module.xml" id="resolver">http</link> block
+or in the corresponding <link id="resolver">upstream</link> block.
 </para>
 </tag-desc>