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

100 lines
1.7 KiB
Django/Jinja

# THIS FILE IS MANAGED BY ANSIBLE
# vim: ft=yaml
# code: language=yaml
---
use_default_settings: true
general:
debug: false
instance_name: Sam's SearXNG
privacypolicy_url: https://samsapti.dev/privacy
contact_url: https://samsapti.dev/contact
enable_metrics: true
server:
secret_key: "{{ searxng_secret_key }}"
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