diff options
Diffstat (limited to 'utils/templates/etc/uwsgi/apps-archlinux/searxng.ini')
-rw-r--r-- | utils/templates/etc/uwsgi/apps-archlinux/searxng.ini | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini index 8fd62b708..aaf55a807 100644 --- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini +++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini @@ -85,5 +85,12 @@ http = ${SEARX_INTERNAL_HTTP} # # socket = ${SEARX_UWSGI_SOCKET} +# uwsgi serves the static files +# expires set to one year since there are hashes +static-map = /static=${SEARX_SRC}/searx/static +static-expires = /* 31557600 +static-gzip-all = True +offload-threads = %k + # Cache -cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 +cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 |