searx / searx-instances

Searx instance list
https://searx.space/
GNU Lesser General Public License v3.0
91 stars 19 forks source link

https://searx.akusov.xyz #215

Closed akusoff closed 2 years ago

akusoff commented 2 years ago

General

Bot protection

Yes, I have installed filtron (rules.json from searx-docker).

Source code URL

No response

Comment

No response

unixfox commented 2 years ago

Hello,

Your filtron rules are not optimal, I'm able to do an infinite amount of requests (more than 5 requests) on the JSON results: https://searx.akusov.xyz/searx/search?category_general=1&q=ok&pageno=1&time_range=None&language=fr&format=json

You will probably need to fix your filtron rules.

This is just an advice and if you don't want to follow it I can add your instance anyway.

akusoff commented 2 years ago

Hello. I've copied rules from this example: https://github.com/searx/searx-docker/blob/master/rules.json. Isn't enough to make filtron work properly? Shoul I change something in it?

unixfox commented 2 years ago

I think it's related to the fact that you are serving searx from the path /searx. I think you should change that so that it is served directly from the root path aka /.

akusoff commented 2 years ago

Where can I find this kind of configuration? Root path in nginx is /. Where else can I look to change serving path?

unixfox commented 2 years ago

I'm unfortunately not familiar with the official setup of searx with NGINX.

Maybe you need to edit the nginx files in /etc/nginx.

Do note though that if you don't really know anything about NGINX and (linux in general) I don't recommend hosting a public searx instance because there are a lot of bad actors that will try to abuse your instance and you won't be able to stop them. This will thus decrease the usability/stability of your searx instance.

akusoff commented 2 years ago

I've found string in nginx conf I needed! Now it looks like filtron protection should work properly. Could you check it?

unixfox commented 2 years ago

It's now working fine, I've added your instance.

akusoff commented 2 years ago

Thank you!