comparison xml/en/docs/http/ngx_http_geoip_module.xml @ 523:a8daad8e83bb

Documented 1.2.1 changes.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 04 Jun 2012 14:41:28 +0000
parents 65750bdde8fb
children be54c443235a
comparison
equal deleted inserted replaced
522:ef11546f75ee 523:a8daad8e83bb
137 <directive name="geoip_proxy"> 137 <directive name="geoip_proxy">
138 <syntax><value>address</value> | <value>CIDR</value></syntax> 138 <syntax><value>address</value> | <value>CIDR</value></syntax>
139 <default/> 139 <default/>
140 <context>http</context> 140 <context>http</context>
141 <appeared-in>1.3.0</appeared-in> 141 <appeared-in>1.3.0</appeared-in>
142 <appeared-in>1.2.1</appeared-in>
142 143
143 <para> 144 <para>
144 Defines trusted addresses. 145 Defines trusted addresses.
145 When a request comes from a trusted address, 146 When a request comes from a trusted address,
146 an address from the <header>X-Forwarded-For</header> request 147 an address from the <header>X-Forwarded-For</header> request
153 <directive name="geoip_proxy_recursive"> 154 <directive name="geoip_proxy_recursive">
154 <syntax><literal>on</literal> | <literal>off</literal></syntax> 155 <syntax><literal>on</literal> | <literal>off</literal></syntax>
155 <default>off</default> 156 <default>off</default>
156 <context>http</context> 157 <context>http</context>
157 <appeared-in>1.3.0</appeared-in> 158 <appeared-in>1.3.0</appeared-in>
159 <appeared-in>1.2.1</appeared-in>
158 160
159 <para> 161 <para>
160 If recursive search is disabled then instead of an original client 162 If recursive search is disabled then instead of an original client
161 address that matches one of the trusted addresses, the last 163 address that matches one of the trusted addresses, the last
162 address sent in <header>X-Forwarded-For</header> will be used. 164 address sent in <header>X-Forwarded-For</header> will be used.