Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_access_module.xml @ 966:95c3c3bbf1ce
Text review.
author | Egor Nikitin <yegor.nikitin@gmail.com> |
---|---|
date | Wed, 14 Aug 2013 12:03:41 +0400 |
parents | d7991f499d9f |
children | 6316a7579448 |
comparison
equal
deleted
inserted
replaced
965:fadccc156188 | 966:95c3c3bbf1ce |
---|---|
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 addresses. | 19 limiting 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>. |
43 </example> | 43 </example> |
44 </para> | 44 </para> |
45 | 45 |
46 <para> | 46 <para> |
47 The rules are checked in sequence until the first match is found. | 47 The rules are checked in sequence until the first match is found. |
48 In this example, an access is allowed only for IPv4 networks | 48 In this example, access is allowed only for IPv4 networks |
49 <literal>10.1.1.0/16</literal> and <literal>192.168.1.0/24</literal> | 49 <literal>10.1.1.0/16</literal> and <literal>192.168.1.0/24</literal> |
50 excluding the address <literal>192.168.1.1</literal>, | 50 excluding the address <literal>192.168.1.1</literal>, |
51 and for IPv6 network <literal>2001:0db8::/32</literal>. | 51 and for IPv6 network <literal>2001:0db8::/32</literal>. |
52 In case of a lot of rules, the use of the | 52 In case of a lot of rules, the use of the |
53 <link doc="ngx_http_geo_module.xml">ngx_http_geo_module</link> | 53 <link doc="ngx_http_geo_module.xml">ngx_http_geo_module</link> |