Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_upstream_module.xml @ 2914:3a2d342533fb
Updated docs for the upcoming NGINX Plus release.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 28 Nov 2022 17:42:29 +0000 |
parents | 4add6ae1296f |
children | 9eadb98ec770 |
comparison
equal
deleted
inserted
replaced
2913:a20b51e84c32 | 2914:3a2d342533fb |
---|---|
541 | 541 |
542 <directive name="resolver"> | 542 <directive name="resolver"> |
543 <syntax> | 543 <syntax> |
544 <value>address</value> ... | 544 <value>address</value> ... |
545 [<literal>valid</literal>=<value>time</value>] | 545 [<literal>valid</literal>=<value>time</value>] |
546 [<literal>ipv4</literal>=<literal>on</literal>|<literal>off</literal>] | |
546 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>] | 547 [<literal>ipv6</literal>=<literal>on</literal>|<literal>off</literal>] |
547 [<literal>status_zone</literal>=<value>zone</value>]</syntax> | 548 [<literal>status_zone</literal>=<value>zone</value>]</syntax> |
548 <default/> | 549 <default/> |
549 <context>upstream</context> | 550 <context>upstream</context> |
550 <appeared-in>1.17.5</appeared-in> | 551 <appeared-in>1.17.5</appeared-in> |
561 Name servers are queried in a round-robin fashion. | 562 Name servers are queried in a round-robin fashion. |
562 </para> | 563 </para> |
563 | 564 |
564 <para id="resolver_ipv6"> | 565 <para id="resolver_ipv6"> |
565 By default, nginx will look up both IPv4 and IPv6 addresses while resolving. | 566 By default, nginx will look up both IPv4 and IPv6 addresses while resolving. |
566 If looking up of IPv6 addresses is not desired, | 567 If looking up of IPv4 or IPv6 addresses is not desired, |
568 the <literal>ipv4=off</literal> (1.23.1) or | |
567 the <literal>ipv6=off</literal> parameter can be specified. | 569 the <literal>ipv6=off</literal> parameter can be specified. |
568 </para> | 570 </para> |
569 | 571 |
570 <para id="resolver_valid"> | 572 <para id="resolver_valid"> |
571 By default, nginx caches answers using the TTL value of a response. | 573 By default, nginx caches answers using the TTL value of a response. |