Welcome! Log In Create A New Profile

Advanced

Howto set geoip_country for IPv4 and IPv6 databases?

Patrick Lists
January 14, 2013 11:10PM
Hi,

Next to their IPv4 country and city database, Maxmind now also has an
IPv6 country and city database at http://dev.maxmind.com/geoip/geolite

Is there a way I can make geo use the IPv6 databases too?

This does not work:

geoip_country /etc/nginx/GeoIP.dat;
geoip_country /etc/nginx/GeoIPv6.dat;
geoip_city /etc/nginx/GeoLiteCity.dat;
geoip_city /etc/nginx/GeoLiteCityv6.dat;

Because I see this error when checking the config:

nginx: [emerg] "geoip_country" directive is duplicate in
/etc/nginx/nginx.conf:116

Thanks for any advice.

Regards,
Patrick

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Howto set geoip_country for IPv4 and IPv6 databases?

Patrick Lists January 14, 2013 11:10PM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Bruno Prémont January 15, 2013 03:10AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Ruslan Ermilov January 15, 2013 08:38AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Patrick Lists January 15, 2013 11:24AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Rancor April 30, 2013 06:14AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Ruslan Ermilov April 30, 2013 08:36AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Rancor April 30, 2013 09:03AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Ruslan Ermilov April 30, 2013 05:18PM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Rancor May 01, 2013 05:14AM

Re: Howto set geoip_country for IPv4 and IPv6 databases?

Rancor May 08, 2013 08:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 288
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready