Merge pull request #46 from searx/nslookup

rules.json: allow nslookup(check.searx.space) instead of hard-coded IP
This commit is contained in:
Alexandre Flament 2020-07-21 08:16:41 +02:00 committed by GitHub
commit c3cf61f3b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
[ [
{ {
"name": "searx.space", "name": "searx.space",
"filters": ["Header:X-Forwarded-For=(2001:41d0:8:de3::1|176.31.252.227)"], "filters": ["Header:X-Forwarded-For=nslookup(check.searx.space)"],
"stop": true, "stop": true,
"actions": [{ "name": "log"}] "actions": [{ "name": "log"}]
}, },