From aa59bfbf60d75508fc1f91220ed2598bf8cf97ec Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sun, 5 May 2024 23:17:35 +0200 Subject: [feat] hostname replace plugin: support for external list file --- searx/settings.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 8a1c00ba8..db749be77 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -243,6 +243,16 @@ outgoing: # - '(.*\.)?google(\..*)?$' # high_priority: # - '(.*\.)?wikipedia.org$' +# +# Alternatively you can use external files for configuring the "Hostnames plugin": +# +# hostnames: +# replace: 'rewrite-hosts.yml' +# +# Content of 'rewrite-hosts.yml' (place the file in the same directory as 'settings.yml'): +# '(.*\.)?youtube\.com$': 'invidious.example.com' +# '(.*\.)?youtu\.be$': 'invidious.example.com' +# checker: # disable checker when in debug mode -- cgit v1.2.3