Skip to content

Support/Migrate to GeoIP2 #1455

@nitin9977

Description

@nitin9977

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions