summaryrefslogtreecommitdiff
path: root/utils/templates/etc
diff options
context:
space:
mode:
Diffstat (limited to 'utils/templates/etc')
-rw-r--r--utils/templates/etc/searxng/limiter.toml13
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