add uwsgi config
parent
610a272605
commit
29e88ff623
|
@ -0,0 +1,30 @@
|
||||||
|
[uwsgi]
|
||||||
|
# Who will run the code
|
||||||
|
uid = searx
|
||||||
|
gid = searx
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Plugin to use and interpretor config
|
||||||
|
single-interpreter = true
|
||||||
|
master = true
|
||||||
|
plugin = python
|
||||||
|
lazy-apps = true
|
||||||
|
enable-threads = true
|
||||||
|
|
||||||
|
# Module to import
|
||||||
|
module = searx.webapp
|
||||||
|
|
||||||
|
# Virtualenv and python path
|
||||||
|
virtualenv = /usr/local/searx/searx-ve/
|
||||||
|
pythonpath = /usr/local/searx/
|
||||||
|
chdir = /usr/local/searx/searx/
|
||||||
|
|
||||||
|
http = 127.0.0.1:8888
|
Loading…
Reference in New Issue