mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[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:
committed by
Markus Heiser
parent
597c68b4aa
commit
3af629ec09
13
utils/templates/etc/searxng/limiter.toml
Normal file
13
utils/templates/etc/searxng/limiter.toml
Normal 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
|
||||
Reference in New Issue
Block a user