1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searxng_ynh.git synced 2024-09-03 20:26:00 +02:00

New test on uwsgi conf

This commit is contained in:
mh4ckt3mh4ckt1c4s 2022-11-24 18:55:07 +01:00
parent 766c9c05bc
commit d95e853ca2

View file

@ -33,3 +33,22 @@ chdir = __FINALPATH__/searx/
# The variable holding flask application
callable = app
# speak to upstream
# -----------------
socket = /var/run/__APP__/app.socket
buffer-size = 8192
# uWSGI serves the static files and in settings.yml we use::
#
# ui:
# static_use_hash: true
#
static-map = /static=__FINALPATH__/searx/static
# expires set to one year since there are hashes
static-expires = /* 31557600
static-gzip-all = True
offload-threads = %k
# Cache
cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1