Open jherzstein opened 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.
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
@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";
...
}
Requirements (make sure to read all of them)
check.searx.space
to check my instance (every 3 hours for the response times, every 24 hours for the other tests).Bot protection requirement
server.public_instance
parameter.Source code URL
No response
Comment
No response