Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_access_module.xml @ 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 | 764fbac1b8b4 |
children | 95c3c3bbf1ce |
comparison
equal
deleted
inserted
replaced
920:7afb12159c1d | 921:d7991f499d9f |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_access_module" | 10 <module name="Module ngx_http_access_module" |
11 link="/en/docs/http/ngx_http_access_module.html" | 11 link="/en/docs/http/ngx_http_access_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="1"> | 13 rev="2"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_access_module</literal> module allows | 18 The <literal>ngx_http_access_module</literal> module allows |
19 to limit access to certain client IP addresses. | 19 to limit access to certain client addresses. |
20 </para> | 20 </para> |
21 | 21 |
22 <para> | 22 <para> |
23 Access can also be limited by | 23 Access can also be limited by |
24 <link doc="ngx_http_auth_basic_module.xml">password</link>. | 24 <link doc="ngx_http_auth_basic_module.xml">password</link>. |
61 | 61 |
62 <directive name="allow"> | 62 <directive name="allow"> |
63 <syntax> | 63 <syntax> |
64 <value>address</value> | | 64 <value>address</value> | |
65 <value>CIDR</value> | | 65 <value>CIDR</value> | |
66 <literal>unix:</literal> | | |
66 <literal>all</literal></syntax> | 67 <literal>all</literal></syntax> |
67 <default/> | 68 <default/> |
68 <context>http</context> | 69 <context>http</context> |
69 <context>server</context> | 70 <context>server</context> |
70 <context>location</context> | 71 <context>location</context> |
71 <context>limit_except</context> | 72 <context>limit_except</context> |
72 | 73 |
73 <para> | 74 <para> |
74 Allows access for the specified network or address. | 75 Allows access for the specified network or address. |
76 If the special value <literal>unix:</literal> is specified (1.5.1), | |
77 allows access for all UNIX-domain sockets. | |
75 </para> | 78 </para> |
76 | 79 |
77 </directive> | 80 </directive> |
78 | 81 |
79 | 82 |
80 <directive name="deny"> | 83 <directive name="deny"> |
81 <syntax> | 84 <syntax> |
82 <value>address</value> | | 85 <value>address</value> | |
83 <value>CIDR</value> | | 86 <value>CIDR</value> | |
87 <literal>unix:</literal> | | |
84 <literal>all</literal></syntax> | 88 <literal>all</literal></syntax> |
85 <default/> | 89 <default/> |
86 <context>http</context> | 90 <context>http</context> |
87 <context>server</context> | 91 <context>server</context> |
88 <context>location</context> | 92 <context>location</context> |
89 <context>limit_except</context> | 93 <context>limit_except</context> |
90 | 94 |
91 <para> | 95 <para> |
92 Denies access for the specified network or address. | 96 Denies access for the specified network or address. |
97 If the special value <literal>unix:</literal> is specified (1.5.1), | |
98 denies access for all UNIX-domain sockets. | |
93 </para> | 99 </para> |
94 | 100 |
95 </directive> | 101 </directive> |
96 | 102 |
97 </section> | 103 </section> |