nginx and GeoLite2

wishmaster artemrts at ukr.net
Mon Oct 21 16:51:23 UTC 2013


Hi,

 --- Original message ---
From: "Maxim Dounin" <mdounin at mdounin.ru>
Date: 21 October 2013, 16:13:01

 
> Hello!
> 
> On Mon, Oct 21, 2013 at 12:38:30PM +0300, wishmaster wrote:
> 
> > Hi
> > I am planning to use GeoLite with nginx. On the MaxMind website there is an announcement:
> > 
> > Announcement
> > Free access to the latest in IP geolocation databases is now available in our GeoLite2 Databases
> > 
> > I've used this db but nginx returned the error. Is it possible to use GeoLite2?
> 
> GeoLite2 databases use different format and different libraries 
> are needed to access them.  They are new and not supported by 
> nginx.
> 
> Use GeoLite databases instead (without "2").  Or use a CSV 
> version, a perl script to convert CSV files from MaxMind to nginx 
> ngx_http_geo_module configuration is in contrib.
> 
 Unfortunately, v2 of this db is not shipped in CSV format. Binary format only.
  See http://dev.maxmind.com/geoip/geoip2/geolite2/

  Max, are you planning to add support of GeoLite2 in nginx in nearest future?



More information about the nginx mailing list