add uwsgi config

master
steckerhalter 2018-03-18 16:06:10 +01:00
parent 610a272605
commit 29e88ff623
1 changed files with 30 additions and 0 deletions

View File

@ -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