From f6934952cf0085da8010a670ea6a06c1fb63516d Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Mon, 10 Jun 2024 22:19:11 +0800 Subject: [PATCH] Refactor searxng.yml to update search formats and deny access to certain formats --- swarm/searxng/settings.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/swarm/searxng/settings.yml b/swarm/searxng/settings.yml index 51a3056..0a27faf 100644 --- a/swarm/searxng/settings.yml +++ b/swarm/searxng/settings.yml @@ -8,4 +8,10 @@ server: ui: static_use_hash: true redis: - url: redis://redis_valkey:6379/0 \ No newline at end of file + url: redis://redis_valkey:6379/0 +search: + # remove format to deny access, use lower case. + # formats: [html, csv, json, rss] + formats: + - html + - json \ No newline at end of file