Repository navigation
Releases
v1.1.0
Supports version 2 of the Residential Proxy database.
Changes
$ip_residential_proxy_provider_namereads the v2proxy_providerslist and joins every provider with ", " (for exampleProxy-Seller, ProxyWing). Version 1 files with a singleproxy_providerstill work.- New variables
$ip_proxy_days_seen_7d,$ip_proxy_days_seen_30dand$ip_proxy_provider_count_30d: days in the last 7 and 30 the IP was seen acting as a proxy, and the number of distinct proxy providers in the last 30 days. They are filled by the IP Security database or the Residential Proxy database v2; when both are loaded, the firstipgeolocation_dblisted wins. - README: MMDB paths use the archive file names, and the tier is called Geo Advanced.
- Tested with Nginx 1.30.6 and 1.31.8, static and dynamic.
Important
If you load Residential Proxy database v2 files, upgrade to v1.1.0. With v1.0.0, $ip_residential_proxy_provider_name is empty for v2 files.
Install
git clone --branch v1.1.0 https://github.com/IPGeolocation/ngx_http_ipgeolocation_module.gitThen follow the build steps in the README.
v1.0.0
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.gitThen follow the build steps in the README.