1
0
Fork 0
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:
mh4ckt3mh4ckt1c4s 2022-11-24 18:35:24 +01:00
parent a2c032e5e9
commit e7c2462168

View file

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