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] [uwsgi]
# Who will run the code # Who will run the code
uid = searxng uid = __APP__
gid = searxng gid = __APP__
# Number of workers # Number of workers
workers = 4 workers = 4
@ -17,18 +17,19 @@ lazy-apps = true
enable-threads = true enable-threads = true
# Application base folder # Application base folder
base = /opt/yunohost/searxng base = __FINALPATH__
# Support running the module from a webserver subdirectory. # Support running the module from a webserver subdirectory.
route-run = fixpathinfo: route-run = fixpathinfo:
# Module to import # Module to import
module = searxng.webapp module = __APP__.webapp
# Virtualenv and python path # Virtualenv and python path
virtualenv = /opt/yunohost/searxng virtualenv = __FINALPATH__
pythonpath = /opt/yunohost/searxng pythonpath = __FINALPATH__
chdir = /opt/yunohost/searxng/searx/ chdir = __FINALPATH__/searx/
# The variable holding flask application # The variable holding flask application
callable = app callable = app