[yamllint] ./utils/templates/etc/searx/*.yml

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-06-12 20:46:07 +02:00
parent 52db47a1c9
commit 4a814dabf3
2 changed files with 28 additions and 17 deletions

2
manage
View File

@ -32,7 +32,7 @@ pylint.FILES() {
YAMLLINT_FILES=()
while IFS= read -r line; do
YAMLLINT_FILES+=("$line")
done <<< "$(git ls-files './tests/*.yml' './searx/*.yml')"
done <<< "$(git ls-files './tests/*.yml' './searx/*.yml' './utils/templates/etc/searx/*.yml')"
PYLINT_SEARX_DISABLE_OPTION="\
I,C,R,\

View File

@ -1,23 +1,34 @@
use_default_settings: True
use_default_settings: true
general:
debug : False # Debug mode, only for development
instance_name : "searx" # displayed name
debug: false # Debug mode, only for development
instance_name: "searxng" # displayed name
contact_url: false # mailto:contact@example.com
search:
safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict
autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off by default
default_lang : "" # Default search language - leave blank to detect from browser information or use codes from 'languages.py'
# Filter results. 0: None, 1: Moderate, 2: Strict
safe_search: 0
# Existing autocomplete backends: "dbpedia", "duckduckgo", "google",
# "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off
# by default.
autocomplete: ""
# Default search language - leave blank to detect from browser information or
# use codes from 'languages.py'
default_lang: ""
# remove format to deny access, use lower case.
formats: [html, csv, json, rss]
server:
port : 8888
bind_address : "127.0.0.1" # address to listen on
secret_key : "ultrasecretkey" # change this!
base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
image_proxy : False # Proxying image results through searx
port: 8888
# address to listen on
bind_address: "127.0.0.1"
secret_key: "ultrasecretkey" # change this!
# Set custom base_url. Possible values:
# false or "https://your.custom.host/location/"
base_url: https://darmarit.org/searx
# Proxying image results through searx
image_proxy: false
# uncomment below section if you have running morty proxy
#result_proxy:
# url : http://127.0.0.1:3000/
# key : !!binary "your_morty_proxy_key"
# result_proxy:
# url: http://127.0.0.1:3000/
# key: !!binary "your_morty_proxy_key"