Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Howto set geoip_country for IPv4 and IPv6 databases?

$
0
0
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.

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>