update history key in Rspamd Redis configuration
This commit is contained in:
parent
d227d6dc73
commit
14191e4608
|
@ -126,6 +126,15 @@ function __rspamd__setup_redis() {
|
||||||
servers = "127.0.0.1:6379";
|
servers = "127.0.0.1:6379";
|
||||||
expand_keys = true;
|
expand_keys = true;
|
||||||
|
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# We do not use `{{HOSTNAME}}` but only `{{COMPRES}}` to better support
|
||||||
|
# Kubernetes, see https://github.com/orgs/docker-mailserver/discussions/3922
|
||||||
|
cat >"${RSPAMD_LOCAL_D}/history_redis.conf" << "EOF"
|
||||||
|
# documentation: https://rspamd.com/doc/modules/history_redis.html
|
||||||
|
|
||||||
|
key_prefix = "rs_history{{COMPRESS}}";
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Here we adjust the Redis default configuration that we supply to Redis when starting it.
|
# Here we adjust the Redis default configuration that we supply to Redis when starting it.
|
||||||
|
|
Loading…
Reference in New Issue