28 lines
532 B
INI
28 lines
532 B
INI
[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
|
|
plugin = python3
|
|
enable-threads = true
|
|
lazy-apps = true
|
|
|
|
# Module to import
|
|
module = searx.webapp
|
|
|
|
pythonpath = /usr/lib/python3/dist-packages/searx/
|
|
chdir = /usr/lib/python3/dist-packages/searx/
|