comparison xml/en/docs/http/ngx_http_geoip_module.xml @ 689:3cc1c7bb0674

Documented geoip_org directive and fixed parameter names
author Vladimir Homutov <vl@nginx.com>
date Wed, 26 Sep 2012 12:36:37 +0000
parents 764fbac1b8b4
children c66610f9a53f
comparison
equal deleted inserted replaced
688:d05c1c996ced 689:3cc1c7bb0674
51 51
52 52
53 <section id="directives" name="Directives"> 53 <section id="directives" name="Directives">
54 54
55 <directive name="geoip_country"> 55 <directive name="geoip_country">
56 <syntax><value>database</value></syntax> 56 <syntax><value>file</value></syntax>
57 <default/> 57 <default/>
58 <context>http</context> 58 <context>http</context>
59 59
60 <para> 60 <para>
61 Specifies a database used to determine a country 61 Specifies a database used to determine a country
86 86
87 </directive> 87 </directive>
88 88
89 89
90 <directive name="geoip_city"> 90 <directive name="geoip_city">
91 <syntax><value>database</value></syntax> 91 <syntax><value>file</value></syntax>
92 <default/> 92 <default/>
93 <context>http</context> 93 <context>http</context>
94 94
95 <para> 95 <para>
96 Specifies a database used to determine a country, region, and city 96 Specifies a database used to determine a country, region, and city
130 </tag-desc> 130 </tag-desc>
131 131
132 <tag-name><var>$geoip_postal_code</var></tag-name> 132 <tag-name><var>$geoip_postal_code</var></tag-name>
133 <tag-desc> 133 <tag-desc>
134 postal code. 134 postal code.
135 </tag-desc>
136
137 </list>
138 </para>
139
140 </directive>
141
142
143 <directive name="geoip_org">
144 <syntax><value>file</value></syntax>
145 <default/>
146 <context>http</context>
147 <appeared-in>1.0.3</appeared-in>
148
149 <para>
150 Specifies a database used to determine an organization
151 depending on the client IP address.
152 The following variable is available when using this database:
153 <list type="tag">
154
155 <tag-name><var>$geoip_org</var></tag-name>
156 <tag-desc>
157 organization name, for example, “The University of Melbourne”.
135 </tag-desc> 158 </tag-desc>
136 159
137 </list> 160 </list>
138 </para> 161 </para>
139 162