Feature Overview
Migrate to GeoIP2 via the community third-party module.
The ngx_http_geoip2_module (https://github.com/leev/ngx_http_geoip2_module) provides the same functionality against the maintained GeoIP2 database format using libmaxminddb. Configuration syntax is nearly identical:
# Legacy (GeoIP1):
geoip_country /path/to/GeoIP.dat;
# GeoIP2 equivalent:
geoip2 /path/to/GeoLite2-Country.mmdb {
$geoip2_data_country_code country iso_code;
}
Alternatives Considered
No response
Additional Context
No response
Feature Overview
Migrate to GeoIP2 via the community third-party module.
The ngx_http_geoip2_module (https://github.com/leev/ngx_http_geoip2_module) provides the same functionality against the maintained GeoIP2 database format using libmaxminddb. Configuration syntax is nearly identical:
Alternatives Considered
No response
Additional Context
No response