diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2023-09-22 10:58:40 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-09-23 14:00:03 +0200 |
commit | 3af629ec090d1ab135fbd7c9b45088c8ca4e541e (patch) | |
tree | 30c98b670ccf78286df5f6e444b5579c944cce2d /utils/templates | |
parent | 597c68b4aad0338b87e5d3443764d7866c86bd6d (diff) | |
download | searxng-3af629ec090d1ab135fbd7c9b45088c8ca4e541e.tar.gz searxng-3af629ec090d1ab135fbd7c9b45088c8ca4e541e.zip |
[mod] activate limiter & link_token method (aka CSS ping) by default
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/templates')
-rw-r--r-- | utils/templates/etc/searxng/limiter.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/templates/etc/searxng/limiter.toml b/utils/templates/etc/searxng/limiter.toml new file mode 100644 index 000000000..f6247000e --- /dev/null +++ b/utils/templates/etc/searxng/limiter.toml @@ -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
\ No newline at end of file |