2014-05-10 11:54:15 +02:00
|
|
|
[uwsgi]
|
|
|
|
# Who will run the code
|
2017-05-01 15:47:20 +02:00
|
|
|
uid = __APP__
|
|
|
|
gid = __APP__
|
2014-05-10 11:54:15 +02: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
|
2020-04-10 21:31:50 +02:00
|
|
|
plugin = python3
|
2018-06-28 18:12:07 +02:00
|
|
|
lazy-apps = true
|
|
|
|
enable-threads = true
|
2014-05-10 11:54:15 +02:00
|
|
|
|
|
|
|
# Application base folder
|
2023-08-18 11:38:35 +02:00
|
|
|
base = __INSTALL_DIR__
|
2014-05-10 11:54:15 +02:00
|
|
|
|
2020-04-10 21:31:50 +02:00
|
|
|
# Support running the module from a webserver subdirectory.
|
|
|
|
route-run = fixpathinfo:
|
|
|
|
|
2014-05-10 11:54:15 +02:00
|
|
|
# Module to import
|
2023-02-22 20:23:09 +01:00
|
|
|
module = searx.webapp
|
2014-05-10 11:54:15 +02:00
|
|
|
|
|
|
|
# Virtualenv and python path
|
2023-08-18 11:38:35 +02:00
|
|
|
virtualenv = __INSTALL_DIR__
|
|
|
|
pythonpath = __INSTALL_DIR__
|
|
|
|
chdir = __INSTALL_DIR__/searx/
|
2014-05-10 11:54:15 +02:00
|
|
|
|
|
|
|
# The variable holding flask application
|
|
|
|
callable = app
|