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:
parent
766c9c05bc
commit
d95e853ca2
1 changed files with 19 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue