Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 542:a9e6a8613534
Documented IPv6 support in ip_hash.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 19 Jun 2012 13:02:40 +0000 |
parents | fb630c3c5039 |
children | f8148fc88224 |
comparison
equal
deleted
inserted
replaced
541:a8971cf346be | 542:a9e6a8613534 |
---|---|
182 <context>upstream</context> | 182 <context>upstream</context> |
183 | 183 |
184 <para> | 184 <para> |
185 Specifies that a group should use a load balancing method where requests | 185 Specifies that a group should use a load balancing method where requests |
186 are distributed between servers based on client IP addresses. | 186 are distributed between servers based on client IP addresses. |
187 The first three octets of the client IPv4 address | 187 The first three octets of the client IPv4 address, or the entire IPv6 address, |
188 are used as a hashing key. | 188 are used as a hashing key. |
189 The method ensures that requests of the same client will always be | 189 The method ensures that requests of the same client will always be |
190 passed to the same server except when this server is considered down | 190 passed to the same server except when this server is considered down |
191 in which case client requests will be passed to another server and | 191 in which case client requests will be passed to another server and |
192 most probably it will also be the same server. | 192 most probably it will also be the same server. |
193 <note> | |
194 IPv6 addresses are supported starting from version 1.3.2. | |
195 </note> | |
193 </para> | 196 </para> |
194 | 197 |
195 <para> | 198 <para> |
196 If one of the servers needs to be temporarily removed, it should | 199 If one of the servers needs to be temporarily removed, it should |
197 be marked with the <literal>down</literal> parameter in | 200 be marked with the <literal>down</literal> parameter in |