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]
|
[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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue