It is no longer recommended to mount /etc/searxng to a directory for configuration files. Instead, only mount /etc/searxng/auth for the tokens.txt file
17 lines
414 B
TOML
17 lines
414 B
TOML
[real_ip]
|
|
x_for = 2
|
|
|
|
# bans on ipv6 apply to the whole /40 block
|
|
# households typically get /32 to /64 so this is a good compromise
|
|
ipv6_prefix = 40
|
|
|
|
[botdetection.ip_lists]
|
|
pass_ip = [
|
|
'51.159.53.89/32', # Allow https://cryptcheck.fr
|
|
'2001:bc8:1200:4:208:a2ff:fe0c:67ea/64' # Allow https://cryptcheck.fr
|
|
]
|
|
|
|
pass_searxng_org = true
|
|
|
|
[botdetection.ip_limit]
|
|
link_token = true
|