Updated README
This commit is contained in:
parent
d4314bb82e
commit
deee646296
1 changed files with 11 additions and 0 deletions
11
README.md
11
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 {
|
||||
|
|
Loading…
Reference in a new issue