You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

redis.conf 1.1KB

123456789101112131415161718192021222324252627
  1. # Please don't modify this file as your changes might be overwritten with
  2. # the next update.
  3. #
  4. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
  5. # parameters defined on the top level
  6. #
  7. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
  8. # parameters defined on the top level
  9. #
  10. # For specific modules or configuration you can also modify
  11. # '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
  12. # '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
  13. #
  14. # See https://rspamd.com/doc/configuration/redis.html
  15. redis {
  16. #servers = "127.0.0.1"; # Read servers (unless write_servers are unspecified)
  17. #servers = "master-slave:127.0.0.1,10.0.1.1";
  18. #write_servers = "127.0.0.1"; # Servers to write data
  19. #disabled_modules = ["ratelimit"]; # List of modules that should not use redis from this section
  20. #timeout = 1s;
  21. #db = "0";
  22. #password = "some_password";
  23. .include(try=true,priority=5) "${DBDIR}/dynamic/redis.conf"
  24. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/redis.conf"
  25. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/redis.conf"
  26. }