Welcome! Log In Create A New Profile

Advanced

http_geoip_module GeoIPRegion Support

Posted by Wojjie 
http_geoip_module GeoIPRegion Support
July 21, 2011 07:13AM
Just noticed that not all types of GeoIP databases are supported by the module, so I ended up modifying it to support GeoIP Region, and I though I would share the code with everyone else:

Here is a patch for nginx 1.0.5:

http://code.wojjie.com/c/nginx/ngx_http_geoip_module.region-db.patch
Attachments:
open | download - ngx_http_geoip_module.region-db.patch.txt (4.8 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 85
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready