I have installed ghe Geoip2 nginx module [http://www.treselle.com/blog/nginx-with-geoip2-maxmind-database-to-fetch-user-geo-location-data/] with the MaxMind GeoLite2-City.mmdb (instead of old .dat) databases.
How do I configure the plugin to use the new database instead?
Here is my nginx configuration:
`
load_module modules/ngx_http_geoip2_module.so;
geoip2 /etc/nginx/geoip2/GeoLite2-City.mmdb {
$geoip2_data_country_code default=US country iso_code;
$geoip2_data_country_name country names en;
}
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
...