# HG changeset patch # User Homutov Vladimir # Date 1360157400 -14400 # Node ID 1a6cb3e282feff60da8204ae48f9343b9dc81774 # Parent e23004ce65effe37c263a9436250dcf8ef171f41 GeoIP: updated description of module variables (English). Documented missing variables: $geoip_city_continent_code, $geoip_area_code, $geoip_dma_code, $geoip_latitude, $geoip_longitude, and $geoip_region_name. Fixed description of the $geoip_region variable. diff --git a/xml/en/docs/http/ngx_http_geoip_module.xml b/xml/en/docs/http/ngx_http_geoip_module.xml --- a/xml/en/docs/http/ngx_http_geoip_module.xml +++ b/xml/en/docs/http/ngx_http_geoip_module.xml @@ -10,7 +10,7 @@ + rev="3">
@@ -103,6 +103,19 @@ depending on the client IP address. The following variables are available when using this database: +$geoip_area_code +telephone area code (US only). + +This variable may contain outdated information since +the corresponding database field is deprecated. + + + +$geoip_city_continent_code +two-letter continent code, for example, +“EU”, “NA”. + + $geoip_city_country_code two-letter country code, for example, @@ -121,11 +134,31 @@ country name, for example, “Russian Federation”, “United States”. +$geoip_dma_code + +DMA region code in US (also known as “metro code”), according to the +geotargeting +in Google AdWords API. + + +$geoip_latitude +latitude. + +$geoip_longitude +longitude. + $geoip_region +two-symbol country region code (region, territory, state, province, federal land +and the like), for example, +“48”, “DC”. + + +$geoip_region_name + country region name (region, territory, state, province, federal land and the like), for example, -“Moscow City”, “DC”. +“Moscow City”, “District of Columbia”. $geoip_city