summaryrefslogtreecommitdiff
path: root/tests/unit/settings/user_settings_keep_only.yml
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-11-27 19:32:45 +0100
committerAlexandre Flament <alex@al-f.net>2020-11-27 19:40:04 +0100
commitb4b81a5e1a74f03926e3c2e6f8c5fade99f7eabb (patch)
treef72272f8c132759a2e792765632352a38007d1ba /tests/unit/settings/user_settings_keep_only.yml
parent1cfe7f2a7543b2994a1afd0d81da1962d04423b0 (diff)
downloadsearxng-b4b81a5e1a74f03926e3c2e6f8c5fade99f7eabb.tar.gz
searxng-b4b81a5e1a74f03926e3c2e6f8c5fade99f7eabb.zip
[enh] settings.yml: add use_default_settings option (2nd version)
Diffstat (limited to 'tests/unit/settings/user_settings_keep_only.yml')
-rw-r--r--tests/unit/settings/user_settings_keep_only.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/unit/settings/user_settings_keep_only.yml b/tests/unit/settings/user_settings_keep_only.yml
new file mode 100644
index 000000000..518f18bde
--- /dev/null
+++ b/tests/unit/settings/user_settings_keep_only.yml
@@ -0,0 +1,14 @@
+use_default_settings:
+ engines:
+ keep_only:
+ - wikibooks
+ - wikinews
+server:
+ secret_key: "user_secret_key"
+ bind_address: "0.0.0.0"
+ default_http_headers:
+ Custom-Header: Custom-Value
+engines:
+ - name: wikipedia
+ - name: newengine
+ engine: dummy