custom-pkgbuilds/serialsearch-git/searxng.ini
2025-02-23 08:36:39 -03:00

25 lines
598 B
INI

[uwsgi]
uid = searxng
gid = searxng
env = LANG=C.UTF-8
env = LANGUAGE=C.UTF-8
env = LC_ALL=C.UTF-8
env = SEARX_SETTINGS_PATH=/etc/searxng/settings.yml
logger = systemd
disable-logging = true
single-interpreter = true
master = true
lazy-apps = true
plugin = python
enable-threads = true
workers = %k
threads = 4
module = searx.webapp
chmod-socket = 666
socket = /run/searxng/searxng.sock
buffer-size = 8192
virtualenv = /var/lib/searxng/.venv
static-map = /static=/var/lib/searxng/.venv/lib/python3.13/site-packages/searx/static
static-expires = /* 86400
static-gzip-all = True
offload-threads = %k