Maxmind GeoIP City Module

Igor Sysoev igor at sysoev.ru
Tue Aug 3 18:20:06 MSD 2010


On Sat, Jul 31, 2010 at 01:11:26PM -0400, KyleChristensen wrote:

> Igor,
> 
> Sorry for resurrecting this old thread, but I've been working on
> deploying Nginx, and I noticed that the GeoIP City module is missing a
> couple of variables that are set by the equivalent mod_geoip module for
> Apache.
> 
> The variables in question (as set by mod_geoip) are:
> 
> GEOIP_ADDR
> GEOIP_REGION_NAME
> GEOIP_DMA_CODE
> GEOIP_AREA_CODE
> 
> I'm not certain what information you'd need to add these to the module,
> but I'd love to see the GeoIP module to be as inclusive as the Apache
> equivalent.
> 
> Let me know if there's any information you're lacking and I'll do my
> best to dig it up.

$geoip_dma_code and $geoip_area_code will be in 0.8.48.
As I understand, GEOIP_REGION_NAME is $geoip_region and
GEOIP_ADDR is just $remote_addr.


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list