2019-05-29 19:27:47 +01:00
|
|
|
[uwsgi]
|
|
|
|
# Who will run the code
|
|
|
|
uid = www-data
|
|
|
|
gid = www-data
|
|
|
|
|
|
|
|
# disable logging for privacy
|
|
|
|
#disable-logging = true
|
|
|
|
|
|
|
|
# Number of workers (usually CPU count)
|
|
|
|
workers = 4
|
|
|
|
|
|
|
|
# The right granted on the created socket
|
|
|
|
chmod-socket = 666
|
|
|
|
http-socket = [::]:8888
|
|
|
|
|
|
|
|
# Plugin to use and interpretor config
|
|
|
|
single-interpreter = true
|
|
|
|
master = true
|
2019-09-11 15:50:34 +01:00
|
|
|
plugin = python
|
2019-05-29 19:27:47 +01:00
|
|
|
enable-threads = true
|
|
|
|
lazy-apps = true
|
|
|
|
|
|
|
|
# Module to import
|
|
|
|
module = searx.webapp
|
|
|
|
|
2019-09-11 15:50:34 +01:00
|
|
|
virtualenv = /srv/app/searx/searx-ve/
|
|
|
|
pythonpath = /srv/app/searx/
|
|
|
|
chdir = /srv/app/searx/searx/
|