Synopsis

Configuration file for the redis module. This module only provides connections to a redis database and a dynamic expansion.

Processing Sections

This module cannot be used in any processing section. It is intended to be used only for expansions or to allow the rediswho module to connect to a Redis database.

Expansions

This module registers only one expansion.

redis
Syntax

%{redis: …}

Contents

The contents of the expansion are a Redis query string. The output of the expansion is the results of the Redis query.

Directives

hostname
Syntax

hostname = string

Default

127.0.0.1

Description

Host where the redis server is located. It is recommended to use ONLY 127.0.0.1 !

password
Syntax

password = string

Default

thisisreallysecretandhardtoguess

Description

The password used to authenticate to the server. A strong password is recommended.

port
Syntax

port = integer

Default

6379

Description

The default port.

pool
Syntax

pool { ... }

Description

A sub-section that manages connections to the database. See the pool documentation for more information.