From deee64629684e0c892ae03657e7cc3e32502c705 Mon Sep 17 00:00:00 2001 From: Lee Valentine Date: Thu, 13 Mar 2014 12:39:00 +0000 Subject: [PATCH] Updated README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index be752e0..93cb2e9 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,17 @@ Description **ngx_http_geoip2_module** - creates variables with values from the maxmind geoip2 databases based on the client IP (supports both IPv4 and IPv6) +## Installing +First install [libmaxminddb](https://github.com/maxmind/libmaxminddb) as described in its [README.md +file](https://github.com/maxmind/libmaxminddb/blob/master/README.md#installing-from-a-tarball). + +Compile nginx: +``` +./configure --add-module=/path/to/ngx_http_geoip2_module +make +make install +``` + ## Example Usage: ``` http {