Skip to content

v1.0.0

Choose a tag to compare

@mateen993 mateen993 released this 02 Nov 07:27
· 6 commits to main since this release
7de1f73

First stable release.

An Nginx module that reads IPGeolocation.io MMDB databases from disk and exposes location, company, ASN, abuse contact and VPN/proxy/Tor security data as native $ip_* variables. No API calls and no per-request cost.

Highlights

  • 76 $ip_* variables covering location, company/ISP, ASN, security, residential proxy, hosting and abuse contact data.
  • Load one or more databases with ipgeolocation_db. They are checked in the order declared, and the first database with the field wins.
  • Works with both the current nested schema and the older flat schema.
  • Builds as a static or dynamic module (--with-compat) and links against libmaxminddb.
  • Tested with Nginx 1.30.6 and 1.31.8, static and dynamic.

Important

ipgeolocation_trust_forwarded_header defaults to off: the module geolocates the connection address, including the address set by the Nginx realip module. If you built from main before 30 October 2026 and relied on X-Forwarded-For, use the realip module (set_real_ip_from plus real_ip_header), or set the directive to on only if your proxy overwrites the header.

Install

git clone --branch v1.0.0 https://github.com/IPGeolocation/ngx_http_ipgeolocation_module.git

Then follow the build steps in the README.