mirror of
https://github.com/YunoHost-Apps/searxng_ynh.git
synced 2024-09-03 20:26:00 +02:00
Fix uwsgi config
This commit is contained in:
parent
a2c032e5e9
commit
e7c2462168
1 changed files with 8 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
[uwsgi]
|
||||
# Who will run the code
|
||||
uid = searxng
|
||||
gid = searxng
|
||||
uid = __APP__
|
||||
gid = __APP__
|
||||
|
||||
# Number of workers
|
||||
workers = 4
|
||||
|
@ -17,18 +17,19 @@ lazy-apps = true
|
|||
enable-threads = true
|
||||
|
||||
# Application base folder
|
||||
base = /opt/yunohost/searxng
|
||||
base = __FINALPATH__
|
||||
|
||||
# Support running the module from a webserver subdirectory.
|
||||
route-run = fixpathinfo:
|
||||
|
||||
# Module to import
|
||||
module = searxng.webapp
|
||||
module = __APP__.webapp
|
||||
|
||||
# Virtualenv and python path
|
||||
virtualenv = /opt/yunohost/searxng
|
||||
pythonpath = /opt/yunohost/searxng
|
||||
chdir = /opt/yunohost/searxng/searx/
|
||||
virtualenv = __FINALPATH__
|
||||
pythonpath = __FINALPATH__
|
||||
chdir = __FINALPATH__/searx/
|
||||
|
||||
# The variable holding flask application
|
||||
callable = app
|
||||
|
||||
|
|
Loading…
Reference in a new issue