# HG changeset patch # User Ruslan Ermilov # Date 1341314769 0 # Node ID f8148fc882242fd4837166eafc3cd3b268609802 # Parent 6b13286abd426f6d65176faaac5e112cb492a84a Documented 1.2.2 changes. diff -r 6b13286abd42 -r f8148fc88224 xml/en/docs/http/ngx_http_core_module.xml --- 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; 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. 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. By default, nginx caches answers using the TTL value of a response. An optional valid parameter allows to override it: diff -r 6b13286abd42 -r f8148fc88224 xml/en/docs/http/ngx_http_upstream_module.xml --- 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. -IPv6 addresses are supported starting from version 1.3.2. +IPv6 addresses are supported starting from versions 1.3.2 and 1.2.2. @@ -217,7 +217,7 @@ -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 ip_hash load balancing method. @@ -350,6 +350,7 @@ upstream 1.3.1 +1.2.2 Specifies that a group should use a load balancing method where a request diff -r 6b13286abd42 -r f8148fc88224 xml/ru/docs/http/ngx_http_core_module.xml --- 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; Адрес может быть указан в виде доменного имени или IP-адреса, -и необязательного порта (1.3.1). +и необязательного порта (1.3.1, 1.2.2). Если порт не указан, используется порт 53. Серверы DNS опрашиваются циклически. До версии 1.1.7 можно было задать лишь один DNS-сервер. Задание DNS-серверов с помощью IPv6-адресов поддерживается -начиная с версии 1.3.1. +начиная с версий 1.3.1 и 1.2.2. По умолчанию nginx кэширует ответы, используя значение TTL из ответа. Необязательный параметр valid позволяет это diff -r 6b13286abd42 -r f8148fc88224 xml/ru/docs/http/ngx_http_upstream_module.xml --- 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 @@ то запросы этого клиента будут передаваться на другой сервер. С большой долей вероятности это также будет один и тот же сервер. -IPv6-адреса поддерживаются начиная с версии 1.3.2. +IPv6-адреса поддерживаются начиная с версий 1.3.2 и 1.2.2. @@ -218,7 +218,7 @@ -До версии 1.3.1 для серверов, использующих метод балансировки нагрузки +До версий 1.3.1 и 1.2.2 для серверов, использующих метод балансировки нагрузки ip_hash, нельзя было задать вес. @@ -351,6 +351,7 @@ upstream 1.3.1 +1.2.2 Задаёт для группы метод балансировки нагрузки, при котором запрос