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.

url_redirector.conf 1.1KB

12345678910111213141516171819202122232425262728
  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/tutorials/writing_rules.html for details
  15. url_redirector {
  16. expire = 1d; # 1 day by default
  17. timeout = 10; # 10 seconds by default
  18. nested_limit = 1; # How many redirects to follow
  19. #proxy = "http://example.com:3128"; # Send request through proxy
  20. key_prefix = "rdr:"; # default hash name
  21. check_ssl = false; # check ssl certificates
  22. max_size = 10k; # maximum body to process
  23. .include(try=true,priority=5) "${DBDIR}/dynamic/url_redirector.conf"
  24. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/url_redirector.conf"
  25. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/url_redirector.conf"
  26. }