diff options
Diffstat (limited to 'blog/posts/guide_blacklist_websites_searxng')
| -rw-r--r-- | blog/posts/guide_blacklist_websites_searxng/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blog/posts/guide_blacklist_websites_searxng/index.md b/blog/posts/guide_blacklist_websites_searxng/index.md index 3aab326..66eb6c4 100644 --- a/blog/posts/guide_blacklist_websites_searxng/index.md +++ b/blog/posts/guide_blacklist_websites_searxng/index.md @@ -1,6 +1,6 @@ Quick one today. I got sick of searching for programming questions and seeing AI-generated scraped-from-stackoverflow click farm trash polluting the results, and I happen to use a personal SearXNG instance that no client-side blacklist extension on the planet is gonna support, so I went looking to see if I could blacklist them in SearXNG for like the eighth time and finally found a way using the hostname replace plugin. So here's that, because I didn't find this feature documented officially anywhere bar an [issue](https://github.com/searxng/searxng/discussions/970) on the Github repo. -## How to do it +# How to do it First, open up your instance's config file. If you installed it directly like I did, that'll probably be `/etc/searxng/settings.yml`. If you used Docker, god help you. Anyway, find the `enabled_plugins:` section and uncomment the entry for `'Hostname replace'`, then uncomment the line `hostname_replace:` just below it. Under there you'll put your blocks: |
