Merge pull request #46 from searx/nslookup
rules.json: allow nslookup(check.searx.space) instead of hard-coded IP
This commit is contained in:
commit
c3cf61f3b4
|
@ -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"}]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue