Updated README

This commit is contained in:
Lee Valentine 2014-03-13 12:39:00 +00:00
parent d4314bb82e
commit deee646296

View file

@ -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 {