HAProxy Enterprise Documentation 2.8r1

Configure the MaxMind module

The module adds the following global directives:

Directive

Description

maxmind-load [mlock_max <number>] <db_type> <db_path> [<db_type> <db_path]>*]

Required. Loads a MaxMind database.

Parameters

Description

mlock_max <number>

Affects unprivileged HAProxy Enterprise invocations and sets the maximum locked memory in bytes.

<db_type>

It can be one of the following:

  • COUNTRY

  • CITY

  • ANONYMOUS

  • ISP

  • DOMAIN

  • CONNTYPE

  • ANY

<db_path>

Sets a path and filename from which to load the database type of <db_type>.

maxmind-cache-size <number>

The size of the LRU cache used for lookups, defaults to 0. Setting to 0 disables cache.


Next up

Use converters to perform database lookups