[mod] activate limiter & link_token method (aka CSS ping) by default

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2023-09-22 10:58:40 +02:00 committed by MatthieuBarbu
parent a7a1e4f866
commit 00a8648472
2 changed files with 28 additions and 2 deletions

View file

@ -0,0 +1,13 @@
# Limiter configuration / bot protection & IP rate limitation
[real_ip]
# number of values to trust for X-Forwarded-For
# https://docs.searxng.org/admin/searx.botdetection.html#searx.botdetection.get_real_ip
x_for = 1
[botdetection.ip_limit]
# activate link_token method in the ip_limit method
# https://docs.searxng.org/admin/searx.botdetection.html#method-ip-limit
link_token = true