The "geo_maxmind" Module

This module depends on a third-party library (libMaxMindDB) and must be manually enabled at compile time.

Once you have installed the dependency you can enable this module using the following command:

./configure --enable-extras m_geo_maxmind.cpp

Description

This module allows the server to perform geolocation lookups on both IP addresses and users.

Configuration

To load this module use the following <module> tag:

<module name="m_geo_maxmind.so">

<maxmind>

The <maxmind> tag defines settings about how the geo_maxmind module should behave. This tag can only be defined once.

Name Type Default Value Description
file Text GeoLite2-Country.mmdb The location of the GeoLite2 database to read locations from.
Example Usage
<maxmind file="GeoLite2-Country.mmdb">