Howto set geoip_country for IPv4 and IPv6 databases?

Rancor nginx-forum at nginx.us
Tue Apr 30 10:14:54 UTC 2013


Hi,

i'm trying to get this to work with the current NginX package 1.4.0 from
dotdeb.org (using  --with-ipv6) on a debian squeeze system. When downloading
the GeoIP ipv6 binary from:

http://dev.maxmind.com/geoip/geolite

and changing:

geoip_country   /etc/nginx/GeoIP.dat;

to:

geoip_country   /etc/nginx/GeoIPv6.dat;

in my nginx.conf i'm getting this message after reload:

nginx: [emerg] invalid GeoIP database "/etc/nginx/GeoIPv6.dat" type:12 in
/etc/nginx/nginx.conf:47

Any hints what's wrong here? Thanks in advance for a reply.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,235108,238735#msg-238735



More information about the nginx mailing list