lab-ansible/roles/apps/templates/searxng/settings.yml.j2

100 lines
1.8 KiB
Plaintext
Raw Normal View History

2024-02-10 17:23:33 +00:00
{# code: language=ansible-jinja #}
2024-02-04 17:03:15 +00:00
# THIS FILE IS MANAGED BY ANSIBLE
2024-02-10 17:23:33 +00:00
2024-02-04 17:03:15 +00:00
use_default_settings: true
general:
debug: false
instance_name: Sam's SearXNG
2024-02-10 17:23:33 +00:00
privacypolicy_url: https://{{ apps_vars.website.domain }}/privacy
contact_url: https://{{ apps_vars.website.domain }}/contact
2024-02-04 17:03:15 +00:00
enable_metrics: true
server:
2024-02-10 17:23:33 +00:00
base_url: https://{{ apps_vars.searxng.domain }}
secret_key: {{ searxng_secret_key }}
2024-02-04 17:03:15 +00:00
image_proxy: true
http_protocol_version: '1.1'
method: GET
limiter: true
public_instance: true
ui:
results_on_new_tab: false
center_alignment: true
theme_args:
simple_style: auto
redis:
url: redis://redis:6379/0
search:
formats:
- html
safe_search: 2
suspended_times:
SearxEngineAccessDenied: 0
SearxEngineCaptcha: 600
SearxEngineTooManyRequests: 600
cf_SearxEngineCaptcha: 600
cf_SearxEngineAccessDenied: 1200
recaptcha_SearxEngineCaptcha: 600
outgoing:
enable_http2: true
source_ips:
- 0.0.0.0
enabled_plugins:
- 'Hash plugin'
- 'Self Informations'
- 'Tracker URL remover'
- 'Hostname replace'
hostname_replace:
'^(.*\.)?youtube\.com$': 'yewtu.be'
'^(.*\.)?youtu\.be$': 'yewtu.be'
'^(.*\.)?youtube-noocookie\.com$': 'yewtu.be'
'^(www\.)?twitter\.com$': 'nitter.net'
'^(.*\.)?(m\.)?wiktionary\.org$': '\1m.wiktionary.org'
engines:
- name: bing
disabled: false
- name: brave
disabled: true
- name: ddg definitions
disabled: false
- name: duckduckgo
disabled: false
- name: duckduckgo images
disabled: false
- name: google
disabled: false
- name: mojeek
disabled: true
- name: qwant
disabled: true
- name: qwant images
disabled: false
- name: startpage
disabled: true
- name: wikidata
disabled: true
- name: wikinews
disabled: true
- name: yahoo
disabled: false