Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_geo_module.xml @ 714:ec33576efaa5
Added note about minimal impact of declaring multiple variables (geo, map).
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 09 Oct 2012 12:39:31 +0000 |
parents | 764fbac1b8b4 |
children | 81ec181c084e |
comparison
equal
deleted
inserted
replaced
713:1de09d81acd1 | 714:ec33576efaa5 |
---|---|
53 <example> | 53 <example> |
54 geo $arg_remote_addr $geo { | 54 geo $arg_remote_addr $geo { |
55 ...; | 55 ...; |
56 } | 56 } |
57 </example> | 57 </example> |
58 </para> | |
59 | |
60 <para> | |
61 <note> | |
62 Since variables are evaluated only when used, the mere existence | |
63 of even a large number of declared “<literal>geo</literal>” variables | |
64 does not incur any extra costs for request processing. | |
65 </note> | |
66 </para> | |
67 | |
68 <para> | |
58 If the value of a variable does not represent a valid IP address | 69 If the value of a variable does not represent a valid IP address |
59 then the “<literal>255.255.255.255</literal>” address is used. | 70 then the “<literal>255.255.255.255</literal>” address is used. |
60 </para> | 71 </para> |
61 | 72 |
62 <para> | 73 <para> |