telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

commit 5315deb16479ced2ff3b4f6c74471b780ebcc249
parent 29d093f5c783dc95caadf96072b04ff4aa46c188
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Fri,  4 Oct 2013 18:01:20 +0200

Documentation update

Diffstat:
MREADME.md | 16+++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -47,7 +47,9 @@ Installing via LuaRocks : ## Installation Edit `nginx.conf` to add directives specifying the path to the GeoIP database -files, within the http block : +files, within the http block. + +### For IPv4 support only : http { @@ -55,8 +57,20 @@ files, within the http block : geoip_country /usr/share/GeoIP/GeoIP.dat; geoip_city /usr/share/GeoIP/GeoLiteCity.dat; + geoip_org /usr/share/GeoIP/GeoIPASNum.dat; } +### For IPv4 and IPv6 support (requires at least Nginx 1.3.12) : + + http { + + ... + + geoip_country /usr/share/GeoIP/GeoIPv6.dat; + geoip_city /usr/share/GeoIP/GeoLiteCityv6.dat; + geoip_org /usr/share/GeoIP/GeoIPASNumv6.dat; + } + Then deploy the API configuration file `telize` to the appropriate location on your system, and reload Nginx configuration.