searxng / searx-instances

SearXNG instances list
https://searx.space
GNU Lesser General Public License v3.0
123 stars 30 forks source link

Add https://searx.yortnet.com #609

Open jherzstein opened 2 weeks ago

jherzstein commented 2 weeks ago

Requirements (make sure to read all of them)

Bot protection requirement

Source code URL

No response

Comment

No response

github-actions[bot] commented 2 weeks ago

Please consider joining our Matrix room for public instance maintainers by joining our Matrix room: https://matrix.to/#/#searxng:matrix.org then pinging @ unixfox, @ dalf and @ mrpaulblack for asking to be invited to the Matrix room. We discuss troubles managing a public instance, sharing some advices (like how to protect against bots), announcing big changes in searxng and more.

ononoki1 commented 2 weeks ago

Hi @jherzstein, please enable server.public_instance parameter. Also, your CSP policy is too strict that image search cannot work. Some good examples: https://github.com/searxng/searxng-docker/blob/849975b3fda9ec4456d8f394529f5ced3957a3d5/Caddyfile#L79-L86

jherzstein commented 2 weeks ago

@ononoki1 I did set it in settings.yml I think I just forgot to restart my instance but when I did the searxng instance will not work when public_instance is set to true.

As for my CSP I set it like so in my nginx though images are still not loading:

 location /image_proxy { 
    add_header Content-Security-Policy "default-src 'none'; img-src 'self' data:"; 
} 
location / { 
    ...
    add_header Content-Security-Policy "upgrade-insecure-requests; default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; form-action 'self' https://github.com/searxng/searxng/issues/new; font-src 'self'; frame-ancestors 'self'; base-uri 'self'; connect-src 'self' https://overpass-api.de; img-src 'self' data: https://*.tile.openstreetmap.org; frame-src https://www.youtube-nocookie.com https://player.vimeo.com https://www.dailymotion.com https://www.deezer.com https://www.mixcloud.com https://w.soundcloud.com https://embed.spotify.com";
    ...
 }