# HG changeset patch # User Ruslan Ermilov # Date 1360673145 -14400 # Node ID 9dab69f2b71d92e1f07664d98ccbb6456f27aa36 # Parent 1a917e32c1daf4ca121dca38b47c98e9b9933c47 Documented nginx 1.2.7 changes. - variables support in the "auth_basic" directive; - new generic variables $pipe, $request_length, $time_iso8601, and $time_local; - IPv6 support in ngx_http_geo_module and ngx_http_geoip_module; - "gzip" and "flush" parameters of the "access_log" directive. diff -r 1a917e32c1da -r 9dab69f2b71d xml/en/docs/http/ngx_http_auth_basic_module.xml --- a/xml/en/docs/http/ngx_http_auth_basic_module.xml Tue Feb 12 07:26:59 2013 +0000 +++ b/xml/en/docs/http/ngx_http_auth_basic_module.xml Tue Feb 12 16:45:45 2013 +0400 @@ -10,7 +10,7 @@ + rev="5">
@@ -58,7 +58,7 @@ Enables validation of user name and password using the “HTTP Basic Authentication” protocol. The specified parameter is used as a realm. -Value of the parameter can contain variables (1.3.10). +Value of the parameter can contain variables (1.3.10, 1.2.7). The special value off allows to cancel the effect of the auth_basic directive inherited from the previous configuration level. diff -r 1a917e32c1da -r 9dab69f2b71d xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml Tue Feb 12 07:26:59 2013 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Tue Feb 12 16:45:45 2013 +0400 @@ -10,7 +10,7 @@ + rev="17">
@@ -2808,7 +2808,7 @@ $pipe p” if request was pipelined, “.” -otherwise (1.3.12) +otherwise (1.3.12, 1.2.7) $query_string @@ -2891,7 +2891,8 @@ $request_length -request length (including request line, header, and request body) (1.3.12) +request length (including request line, header, and request body) +(1.3.12, 1.2.7) $request_method @@ -2970,12 +2971,12 @@ $time_iso8601 -local time in the ISO 8601 standard format (1.3.12) +local time in the ISO 8601 standard format (1.3.12, 1.2.7) $time_local -local time in the Common Log Format (1.3.12) +local time in the Common Log Format (1.3.12, 1.2.7) $uri diff -r 1a917e32c1da -r 9dab69f2b71d xml/en/docs/http/ngx_http_geo_module.xml --- a/xml/en/docs/http/ngx_http_geo_module.xml Tue Feb 12 07:26:59 2013 +0000 +++ b/xml/en/docs/http/ngx_http_geo_module.xml Tue Feb 12 16:45:45 2013 +0400 @@ -10,7 +10,7 @@ + rev="5">
@@ -78,7 +78,7 @@ Addresses are specified either as prefixes in CIDR notation (including individual addresses) or as ranges (0.7.23). -IPv6 prefixes are supported starting from version 1.3.10. +IPv6 prefixes are supported starting from versions 1.3.10 and 1.2.7. diff -r 1a917e32c1da -r 9dab69f2b71d xml/en/docs/http/ngx_http_geoip_module.xml --- a/xml/en/docs/http/ngx_http_geoip_module.xml Tue Feb 12 07:26:59 2013 +0000 +++ b/xml/en/docs/http/ngx_http_geoip_module.xml Tue Feb 12 16:45:45 2013 +0400 @@ -10,7 +10,7 @@ + rev="4">
@@ -21,7 +21,7 @@ -When using IPv6 databases (1.3.12), +When using IPv6 databases (1.3.12, 1.2.7), IPv4 addresses are looked up as IPv4-mapped IPv6 addresses. diff -r 1a917e32c1da -r 9dab69f2b71d xml/en/docs/http/ngx_http_log_module.xml --- a/xml/en/docs/http/ngx_http_log_module.xml Tue Feb 12 07:26:59 2013 +0000 +++ b/xml/en/docs/http/ngx_http_log_module.xml Tue Feb 12 16:45:45 2013 +0400 @@ -10,7 +10,7 @@ + rev="9">
@@ -76,7 +76,8 @@ -If either the buffer or gzip (1.3.10) +If either the buffer or gzip +(1.3.10, 1.2.7) parameter is used, writes to log will be buffered. The buffer size must not exceed the size of the atomic write to a disk file. @@ -94,7 +95,7 @@ if the buffered data is older than specified by the flush -parameter (1.3.10); +parameter (1.3.10, 1.2.7); @@ -262,14 +263,14 @@ $request_time (1.3.9, 1.2.6), $pipe -(1.3.12), +(1.3.12, 1.2.7), $request_length -(1.3.12), +(1.3.12, 1.2.7), $time_iso8601 -(1.3.12), +(1.3.12, 1.2.7), and $time_local -(1.3.12) +(1.3.12, 1.2.7) are also available as common variables. diff -r 1a917e32c1da -r 9dab69f2b71d xml/ru/docs/http/ngx_http_auth_basic_module.xml --- a/xml/ru/docs/http/ngx_http_auth_basic_module.xml Tue Feb 12 07:26:59 2013 +0000 +++ b/xml/ru/docs/http/ngx_http_auth_basic_module.xml Tue Feb 12 16:45:45 2013 +0400 @@ -10,7 +10,7 @@ + rev="5">
@@ -58,7 +58,7 @@ Включает проверку имени и пароля пользователя по протоколу “HTTP Basic Authentication”. Заданный параметр используется в качестве realm. -В значении параметра допустимо использование переменных (1.3.10). +В значении параметра допустимо использование переменных (1.3.10, 1.2.7). Специальное значение off позволяет отменить действие унаследованной с предыдущего уровня конфигурации директивы auth_basic. diff -r 1a917e32c1da -r 9dab69f2b71d xml/ru/docs/http/ngx_http_core_module.xml --- a/xml/ru/docs/http/ngx_http_core_module.xml Tue Feb 12 07:26:59 2013 +0000 +++ b/xml/ru/docs/http/ngx_http_core_module.xml Tue Feb 12 16:45:45 2013 +0400 @@ -10,7 +10,7 @@ + rev="17">
@@ -2795,7 +2795,7 @@ $pipe p” если запрос был pipelined, иначе “.” -(1.3.12) +(1.3.12, 1.2.7) $query_string @@ -2876,7 +2876,8 @@ $request_length -длина запроса (включая строку запроса, заголовок и тело запроса) (1.3.12) +длина запроса (включая строку запроса, заголовок и тело запроса) +(1.3.12, 1.2.7) $request_method @@ -2944,12 +2945,12 @@ $time_iso8601 -локальное время в формате по стандарту ISO 8601 (1.3.12) +локальное время в формате по стандарту ISO 8601 (1.3.12, 1.2.7) $time_local -локальное время в Common Log Format (1.3.12) +локальное время в Common Log Format (1.3.12, 1.2.7) diff -r 1a917e32c1da -r 9dab69f2b71d xml/ru/docs/http/ngx_http_geo_module.xml --- a/xml/ru/docs/http/ngx_http_geo_module.xml Tue Feb 12 07:26:59 2013 +0000 +++ b/xml/ru/docs/http/ngx_http_geo_module.xml Tue Feb 12 16:45:45 2013 +0400 @@ -10,7 +10,7 @@ + rev="5">
@@ -79,7 +79,7 @@ Адреса задаются либо префиксами в формате CIDR (включая одиночные адреса), либо в виде диапазонов (0.7.23). -IPv6-префиксы поддерживаются начиная с версии 1.3.10. +IPv6-префиксы поддерживаются начиная с версий 1.3.10 и 1.2.7. diff -r 1a917e32c1da -r 9dab69f2b71d xml/ru/docs/http/ngx_http_geoip_module.xml --- a/xml/ru/docs/http/ngx_http_geoip_module.xml Tue Feb 12 07:26:59 2013 +0000 +++ b/xml/ru/docs/http/ngx_http_geoip_module.xml Tue Feb 12 16:45:45 2013 +0400 @@ -10,7 +10,7 @@ + rev="4">
@@ -21,7 +21,7 @@ -При использовании баз данных с поддержкой IPv6 (1.3.12) +При использовании баз данных с поддержкой IPv6 (1.3.12, 1.2.7) IPv4-адреса ищутся отображёнными на IPv6. diff -r 1a917e32c1da -r 9dab69f2b71d xml/ru/docs/http/ngx_http_log_module.xml --- a/xml/ru/docs/http/ngx_http_log_module.xml Tue Feb 12 07:26:59 2013 +0000 +++ b/xml/ru/docs/http/ngx_http_log_module.xml Tue Feb 12 16:45:45 2013 +0400 @@ -10,7 +10,7 @@ + rev="9">
@@ -78,7 +78,7 @@ Если задан размер буфера с помощью параметра buffer или -указан параметр gzip (1.3.10), то запись будет +указан параметр gzip (1.3.10, 1.2.7), то запись будет буферизованной. Размер буфера должен быть не больше размера атомарной записи в дисковый файл. @@ -96,7 +96,7 @@ если данные в буфере находятся дольше интервала времени, заданного -параметром flush (1.3.10); +параметром flush (1.3.10, 1.2.7); @@ -259,14 +259,14 @@ $request_time (1.3.9, 1.2.6), $pipe -(1.3.12), +(1.3.12, 1.2.7), $request_length -(1.3.12), +(1.3.12, 1.2.7), $time_iso8601 -(1.3.12) +(1.3.12, 1.2.7) и $time_local -(1.3.12) +(1.3.12, 1.2.7) также доступны как общие переменные.