The "geo_maxmind" Module (v3)

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 geo_maxmind

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="geo_maxmind">

<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">