mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02: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:
parent
597c68b4aa
commit
3af629ec09
2 changed files with 28 additions and 2 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue