Opened 4 months ago

Last modified 4 weeks ago

#2120 new enhancement

Add Support for IP2Location and IP2Proxy BIN Database

Reported by: topakeris@… Owned by:
Priority: minor Milestone:
Component: nginx-module Version: 1.19.x
Keywords: GeoIP, IP2Location, IP2Proxy Cc:
uname -a:
nginx -V: nginx version: nginx/1.19.6 (quiche-6c1e5b4)

Description

Nginx is supporting single vendor for IP geolocation right now.

It is good if we can support IP2Location and IP2Proxy BIN database as well. They are from the same company and provide free LITE database for public.

IP2Proxy provides accurate proxy detection that we would like to use in the nginx level.

You can visit https://lite.ip2location.com and https://www.ip2location.com for more information.

Change History (2)

comment:1 by Maxim Dounin, 4 months ago

Component: documentationnginx-module
Priority: majorminor

First of all, nginx does support vendor-agnostic geolocation information via the geo module. I've never tried ip2location myself, but likely their CVS databases can be easily converted to nginx format, either using contrib/geo2nginx.pl script or something similar.

Further, ip2location seems to provide their own module for nginx, see here.

comment:2 by maxim, 4 weeks ago

Milestone: nginx-1.19

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.