mirror of
https://github.com/searxng/searxng.git
synced 2024-11-14 08:40:11 +01:00
ab8e5383fb
Deprecated header not used by browsers nowadays[1]: """In modern browsers, X-XSS-Protection has been deprecated in favor of the Content-Security-Policy to disable the use of inline JavaScript. Its use can introduce XSS vulnerabilities in otherwise safe websites. This should not be used unless you need to support older web browsers that don’t yet support CSP. It is thus recommended to set the header as X-XSS-Protection: 0."""[2] [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection [2] https://infosec.mozilla.org/guidelines/web_security#x-xss-protection Closes: https://github.com/searxng/searxng/issues/3171 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
111 lines
2.5 KiB
YAML
111 lines
2.5 KiB
YAML
general:
|
|
debug: false
|
|
instance_name: "searx"
|
|
|
|
search:
|
|
safe_search: 0
|
|
autocomplete: ""
|
|
default_lang: ""
|
|
ban_time_on_fail: 5
|
|
max_ban_time_on_fail: 120
|
|
|
|
server:
|
|
port: 9000
|
|
bind_address: "0.0.0.0"
|
|
secret_key: "user_settings_secret"
|
|
base_url: false
|
|
image_proxy: false
|
|
http_protocol_version: "1.0"
|
|
method: "POST"
|
|
default_http_headers:
|
|
X-Content-Type-Options: nosniff
|
|
X-Download-Options: noopen
|
|
X-Robots-Tag: noindex, nofollow
|
|
Referrer-Policy: no-referrer
|
|
|
|
ui:
|
|
static_path: ""
|
|
templates_path: ""
|
|
default_theme: simple
|
|
default_locale: ""
|
|
theme_args:
|
|
simple_style: auto
|
|
|
|
engines:
|
|
- name: wikidata
|
|
engine: wikidata
|
|
shortcut: wd
|
|
timeout: 3.0
|
|
weight: 2
|
|
|
|
- name: wikibooks
|
|
engine: mediawiki
|
|
shortcut: wb
|
|
categories: general
|
|
base_url: "https://{language}.wikibooks.org/"
|
|
number_of_results: 5
|
|
search_type: text
|
|
|
|
- name: wikinews
|
|
engine: mediawiki
|
|
shortcut: wn
|
|
categories: news
|
|
base_url: "https://{language}.wikinews.org/"
|
|
number_of_results: 5
|
|
search_type: text
|
|
|
|
- name: wikiquote
|
|
engine: mediawiki
|
|
shortcut: wq
|
|
categories: general
|
|
base_url: "https://{language}.wikiquote.org/"
|
|
number_of_results: 5
|
|
search_type: text
|
|
|
|
locales:
|
|
en: English
|
|
ar: العَرَبِيَّة (Arabic)
|
|
bg: Български (Bulgarian)
|
|
bo: བོད་སྐད་ (Tibetian)
|
|
ca: Català (Catalan)
|
|
cs: Čeština (Czech)
|
|
cy: Cymraeg (Welsh)
|
|
da: Dansk (Danish)
|
|
de: Deutsch (German)
|
|
el_GR: Ελληνικά (Greek_Greece)
|
|
eo: Esperanto (Esperanto)
|
|
es: Español (Spanish)
|
|
et: Eesti (Estonian)
|
|
eu: Euskara (Basque)
|
|
fa_IR: (fārsī) فارسى (Persian)
|
|
fi: Suomi (Finnish)
|
|
fil: Wikang Filipino (Filipino)
|
|
fr: Français (French)
|
|
gl: Galego (Galician)
|
|
he: עברית (Hebrew)
|
|
hr: Hrvatski (Croatian)
|
|
hu: Magyar (Hungarian)
|
|
ia: Interlingua (Interlingua)
|
|
it: Italiano (Italian)
|
|
ja: 日本語 (Japanese)
|
|
lt: Lietuvių (Lithuanian)
|
|
nl: Nederlands (Dutch)
|
|
nl_BE: Vlaams (Dutch_Belgium)
|
|
oc: Lenga D'òc (Occitan)
|
|
pl: Polski (Polish)
|
|
pt: Português (Portuguese)
|
|
pt_BR: Português (Portuguese_Brazil)
|
|
ro: Română (Romanian)
|
|
ru: Русский (Russian)
|
|
sk: Slovenčina (Slovak)
|
|
sl: Slovenski (Slovene)
|
|
sr: српски (Serbian)
|
|
sv: Svenska (Swedish)
|
|
te: తెలుగు (telugu)
|
|
ta: தமிழ் (Tamil)
|
|
tr: Türkçe (Turkish)
|
|
uk: українська мова (Ukrainian)
|
|
vi: tiếng việt (Vietnamese)
|
|
zh: 中文 (Chinese)
|
|
zh_TW: 國語 (Taiwanese Mandarin)
|