Module ngx_http_geoip_module
- Example Configuration
- Directives
- geoip_country
- geoip_city
- geoip_org
- geoip_proxy
- geoip_proxy_recursive
The ngx_http_geoip_module
module (0.8.6+) creates variables with values depending on the client IP address, using the precompiled MaxMind databases.
When using the databases with IPv6 support (1.3.12, 1.2.7), IPv4 addresses are looked up as IPv4-mapped IPv6 addresses.
This module is not built by default, it should be enabled with the --with-http_geoip_module
configuration parameter.
This module requires the MaxMind GeoIP library.