From d95e853ca2829e8563d7d8ab97920019e8780a1f Mon Sep 17 00:00:00 2001 From: mh4ckt3mh4ckt1c4s Date: Thu, 24 Nov 2022 18:55:07 +0100 Subject: [PATCH] New test on uwsgi conf --- conf/uwsgi.ini | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/conf/uwsgi.ini b/conf/uwsgi.ini index 3fd9720..6be17ca 100644 --- a/conf/uwsgi.ini +++ b/conf/uwsgi.ini @@ -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