Module ngx_http_geoip_module

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.
geoip_city

Syntax: geoip_city file; Default: — Context:

2017-02-09 07:06:17
geoip_country

Syntax: geoip_country file; Default: — Context:

2017-02-09 07:06:17
geoip_proxy_recursive

Syntax: geoip_proxy_recursive on | off; Default: geoip_proxy_recursive

2017-02-09 07:06:19
geoip_proxy

Syntax: geoip_proxy address | CIDR; Default: —

2017-02-09 07:06:18
geoip_org

Syntax: geoip_org file; Default: — Context:

2017-02-09 07:06:18