30 lines
512 B
INI
30 lines
512 B
INI
|
[uwsgi]
|
||
|
# Who will run the code
|
||
|
uid = www-data
|
||
|
gid = www-data
|
||
|
|
||
|
# 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 = python
|
||
|
|
||
|
# Application base folder
|
||
|
base = /opt/searx
|
||
|
|
||
|
# Module to import
|
||
|
module = searx.webapp
|
||
|
|
||
|
# Virtualenv and python path
|
||
|
virtualenv = /opt/searx/searx-ve/
|
||
|
pythonpath = /opt/searx/
|
||
|
chdir = /opt/searx/searx/
|
||
|
|
||
|
# The variable holding flask application
|
||
|
callable = app
|