2022-11-23 12:46:39 +01:00
|
|
|
[uwsgi]
|
|
|
|
# Who will run the code
|
2022-11-23 17:20:15 +01:00
|
|
|
uid = searxng
|
|
|
|
gid = searxng
|
2022-11-23 12:46:39 +01:00
|
|
|
|
|
|
|
# Number of workers
|
|
|
|
workers = 4
|
|
|
|
|
|
|
|
# The right granted on the created socket
|
|
|
|
chmod-socket = 666
|
|
|
|
|
|
|
|
# Plugin to use and interpretor config
|
|
|
|
single-interpreter = true
|
|
|
|
master = true
|
|
|
|
plugin = python3
|
|
|
|
lazy-apps = true
|
|
|
|
enable-threads = true
|
|
|
|
|
|
|
|
# Application base folder
|
2022-11-23 17:20:15 +01:00
|
|
|
base = /opt/yunohost/searxng
|
2022-11-23 12:46:39 +01:00
|
|
|
|
|
|
|
# Support running the module from a webserver subdirectory.
|
|
|
|
route-run = fixpathinfo:
|
|
|
|
|
|
|
|
# Module to import
|
2022-11-23 17:20:15 +01:00
|
|
|
module = searxng.webapp
|
2022-11-23 12:46:39 +01:00
|
|
|
|
|
|
|
# Virtualenv and python path
|
2022-11-23 17:20:15 +01:00
|
|
|
virtualenv = /opt/yunohost/searxng
|
|
|
|
pythonpath = /opt/yunohost/searxng
|
|
|
|
chdir = /opt/yunohost/searxng/searx/
|
2022-11-23 12:46:39 +01:00
|
|
|
|
|
|
|
# The variable holding flask application
|
|
|
|
callable = app
|