Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 1127:948c853f5d22
Upstream: improved "server resolve".
Added missing full stop at the sentence end, added "example".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 21 Mar 2014 11:25:20 +0400 |
parents | 2e28d1c4a0a2 |
children | 1594ed379f1f |
comparison
equal
deleted
inserted
replaced
1126:2e28d1c4a0a2 | 1127:948c853f5d22 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_upstream_module" | 10 <module name="Module ngx_http_upstream_module" |
11 link="/en/docs/http/ngx_http_upstream_module.html" | 11 link="/en/docs/http/ngx_http_upstream_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="18"> | 13 rev="19"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_upstream_module</literal> module | 18 The <literal>ngx_http_upstream_module</literal> module |
214 </tag-name> | 214 </tag-name> |
215 <tag-desc> | 215 <tag-desc> |
216 monitors changes of the IP addresses | 216 monitors changes of the IP addresses |
217 that correspond to a domain name of the server, | 217 that correspond to a domain name of the server, |
218 and automatically modifies the upstream configuration | 218 and automatically modifies the upstream configuration |
219 without the need of restarting nginx (1.5.12) | 219 without the need of restarting nginx (1.5.12). |
220 <para> | 220 <para> |
221 In order for this parameter to work, | 221 In order for this parameter to work, |
222 the <link doc="ngx_http_core_module.xml" id="resolver"/> directive | 222 the <link doc="ngx_http_core_module.xml" id="resolver"/> directive |
223 must be specified in the | 223 must be specified in the |
224 <link doc="ngx_http_core_module.xml" id="http"/> block. | 224 <link doc="ngx_http_core_module.xml" id="http"/> block. |
225 Example: | |
225 <example> | 226 <example> |
226 http { | 227 http { |
227 resolver 10.0.0.1; | 228 resolver 10.0.0.1; |
228 | 229 |
229 upstream u { | 230 upstream u { |