changeset 921:d7991f499d9f

Access: support for UNIX-domain client addresses (ticket #359).
author Ruslan Ermilov <ru@nginx.com>
date Fri, 24 May 2013 11:40:12 +0400
parents 7afb12159c1d
children 9ad2770d3f28
files xml/en/docs/http/ngx_http_access_module.xml xml/ru/docs/http/ngx_http_access_module.xml
diffstat 2 files changed, 16 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_access_module.xml
+++ b/xml/en/docs/http/ngx_http_access_module.xml
@@ -10,13 +10,13 @@
 <module name="Module ngx_http_access_module"
         link="/en/docs/http/ngx_http_access_module.html"
         lang="en"
-        rev="1">
+        rev="2">
 
 <section id="summary">
 
 <para>
 The <literal>ngx_http_access_module</literal> module allows
-to limit access to certain client IP addresses.
+to limit access to certain client addresses.
 </para>
 
 <para>
@@ -63,6 +63,7 @@ module variables is preferable.
 <syntax>
     <value>address</value> |
     <value>CIDR</value> |
+    <literal>unix:</literal> |
     <literal>all</literal></syntax>
 <default/>
 <context>http</context>
@@ -72,6 +73,8 @@ module variables is preferable.
 
 <para>
 Allows access for the specified network or address.
+If the special value <literal>unix:</literal> is specified (1.5.1),
+allows access for all UNIX-domain sockets.
 </para>
 
 </directive>
@@ -81,6 +84,7 @@ Allows access for the specified network 
 <syntax>
     <value>address</value> |
     <value>CIDR</value> |
+    <literal>unix:</literal> |
     <literal>all</literal></syntax>
 <default/>
 <context>http</context>
@@ -90,6 +94,8 @@ Allows access for the specified network 
 
 <para>
 Denies access for the specified network or address.
+If the special value <literal>unix:</literal> is specified (1.5.1),
+denies access for all UNIX-domain sockets.
 </para>
 
 </directive>
--- a/xml/ru/docs/http/ngx_http_access_module.xml
+++ b/xml/ru/docs/http/ngx_http_access_module.xml
@@ -10,13 +10,13 @@
 <module name="Модуль ngx_http_access_module"
         link="/ru/docs/http/ngx_http_access_module.html"
         lang="ru"
-        rev="1">
+        rev="2">
 
 <section id="summary">
 
 <para>
 Модуль <literal>ngx_http_access_module</literal> позволяет
-ограничить доступ для определённых IP-адресов клиентов.
+ограничить доступ для определённых адресов клиентов.
 </para>
 
 <para>
@@ -62,6 +62,7 @@ location / {
 <syntax>
     <value>адрес</value> |
     <value>CIDR</value> |
+    <literal>unix:</literal> |
     <literal>all</literal></syntax>
 <default/>
 <context>http</context>
@@ -71,6 +72,8 @@ location / {
 
 <para>
 Разрешает доступ для указанной сети или адреса.
+Если указано специальное значение <literal>unix:</literal> (1.5.1),
+разрешает доступ для всех UNIX-сокетов.
 </para>
 
 </directive>
@@ -80,6 +83,7 @@ location / {
 <syntax>
     <value>адрес</value> |
     <value>CIDR</value> |
+    <literal>unix:</literal> |
     <literal>all</literal></syntax>
 <default/>
 <context>http</context>
@@ -89,6 +93,8 @@ location / {
 
 <para>
 Запрещает доступ для указанной сети или адреса.
+Если указано специальное значение <literal>unix:</literal> (1.5.1),
+запрещает доступ для всех UNIX-сокетов.
 </para>
 
 </directive>