Mercurial > hg > nginx-site
changeset 566:f8148fc88224
Documented 1.2.2 changes.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 03 Jul 2012 11:26:09 +0000 |
parents | 6b13286abd42 |
children | 7ff0dd5fe6f0 |
files | xml/en/docs/http/ngx_http_core_module.xml xml/en/docs/http/ngx_http_upstream_module.xml xml/ru/docs/http/ngx_http_core_module.xml xml/ru/docs/http/ngx_http_upstream_module.xml |
diffstat | 4 files changed, 10 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml Tue Jul 03 10:59:50 2012 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Tue Jul 03 11:26:09 2012 +0000 @@ -1851,13 +1851,13 @@ resolver 127.0.0.1 [::1]:5353; </example> An address can be specified as a domain name or IP address, -and an optional port (1.3.1). +and an optional port (1.3.1, 1.2.2). If port is not specified, the port 53 is used. Name servers are queried in a round-robin fashion. <note> Before version 1.1.7, only a single name server could be configured. Specifying name servers using IPv6 addresses is supported -starting from version 1.3.1. +starting from versions 1.3.1 and 1.2.2. </note> By default, nginx caches answers using the TTL value of a response. An optional <literal>valid</literal> parameter allows to override it:
--- a/xml/en/docs/http/ngx_http_upstream_module.xml Tue Jul 03 10:59:50 2012 +0000 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml Tue Jul 03 11:26:09 2012 +0000 @@ -191,7 +191,7 @@ in which case client requests will be passed to another server and most probably it will also be the same server. <note> -IPv6 addresses are supported starting from version 1.3.2. +IPv6 addresses are supported starting from versions 1.3.2 and 1.2.2. </note> </para> @@ -217,7 +217,7 @@ <para> <note> -Until version 1.3.1 it was not possible to specify a weight for +Until versions 1.3.1 and 1.2.2 it was not possible to specify a weight for servers using the <literal>ip_hash</literal> load balancing method. </note> </para> @@ -350,6 +350,7 @@ <default/> <context>upstream</context> <appeared-in>1.3.1</appeared-in> +<appeared-in>1.2.2</appeared-in> <para> Specifies that a group should use a load balancing method where a request
--- a/xml/ru/docs/http/ngx_http_core_module.xml Tue Jul 03 10:59:50 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Tue Jul 03 11:26:09 2012 +0000 @@ -1835,13 +1835,13 @@ resolver 127.0.0.1 [::1]:5353; </example> Адрес может быть указан в виде доменного имени или IP-адреса, -и необязательного порта (1.3.1). +и необязательного порта (1.3.1, 1.2.2). Если порт не указан, используется порт 53. Серверы DNS опрашиваются циклически. <note> До версии 1.1.7 можно было задать лишь один DNS-сервер. Задание DNS-серверов с помощью IPv6-адресов поддерживается -начиная с версии 1.3.1. +начиная с версий 1.3.1 и 1.2.2. </note> По умолчанию nginx кэширует ответы, используя значение TTL из ответа. Необязательный параметр <literal>valid</literal> позволяет это
--- a/xml/ru/docs/http/ngx_http_upstream_module.xml Tue Jul 03 10:59:50 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml Tue Jul 03 11:26:09 2012 +0000 @@ -192,7 +192,7 @@ то запросы этого клиента будут передаваться на другой сервер. С большой долей вероятности это также будет один и тот же сервер. <note> -IPv6-адреса поддерживаются начиная с версии 1.3.2. +IPv6-адреса поддерживаются начиная с версий 1.3.2 и 1.2.2. </note> </para> @@ -218,7 +218,7 @@ <para> <note> -До версии 1.3.1 для серверов, использующих метод балансировки нагрузки +До версий 1.3.1 и 1.2.2 для серверов, использующих метод балансировки нагрузки <literal>ip_hash</literal>, нельзя было задать вес. </note> </para> @@ -351,6 +351,7 @@ <default/> <context>upstream</context> <appeared-in>1.3.1</appeared-in> +<appeared-in>1.2.2</appeared-in> <para> Задаёт для группы метод балансировки нагрузки, при котором запрос