Enable link_token method for bot blocking in SearXNG

This commit is contained in:
Sam A. 2023-06-24 10:04:11 +02:00
parent 15aa3bd1bf
commit 13d50e71f6
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 10 additions and 0 deletions

View file

@ -14,6 +14,13 @@
owner: root
mode: u=rw,g=r,o=r
- name: Copy SearXNG limiter.toml file
ansible.builtin.template:
src: limiter.toml.j2
dest: "{{ services.searxng.volume }}/limiter.toml"
owner: root
mode: u=rw,g=r,o=r
- name: Deploy SearXNG with Docker Compose
community.docker.docker_compose:
project_name: searxng

View file

@ -0,0 +1,3 @@
# vim: ft=toml
[botdetection.ip_limit]
link_token = true