summaryrefslogtreecommitdiff
path: root/utils/templates
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-01-13 15:46:48 +0100
committerGitHub <noreply@github.com>2021-01-13 15:46:48 +0100
commit484dc99580a4cfdbba022209cbe896cd69b3e8b2 (patch)
tree0dc84bbe549fac71ead7ee4e4fafeb0d3f3021c2 /utils/templates
parentf7e11fd7222363a72a8fa33cf69190f64a3880bd (diff)
parent912c7e975c3943db798d748fa48d460467b66d30 (diff)
Merge pull request #2419 from dalf/checker
[enh] add checker
Diffstat (limited to 'utils/templates')
-rw-r--r--utils/templates/etc/uwsgi/apps-archlinux/searx.ini5
-rw-r--r--utils/templates/etc/uwsgi/apps-available/searx.ini3
2 files changed, 7 insertions, 1 deletions
diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searx.ini b/utils/templates/etc/uwsgi/apps-archlinux/searx.ini
index 9dd2e6f2f..71cece3c4 100644
--- a/utils/templates/etc/uwsgi/apps-archlinux/searx.ini
+++ b/utils/templates/etc/uwsgi/apps-archlinux/searx.ini
@@ -82,4 +82,7 @@ http = ${SEARX_INTERNAL_HTTP}
# mkdir -p /run/uwsgi/app/searx
# chown -R ${SERVICE_USER}:${SERVICE_GROUP} /run/uwsgi/app/searx
#
-# socket = /run/uwsgi/app/searx/socket \ No newline at end of file
+# socket = /run/uwsgi/app/searx/socket
+
+# Cache
+cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1
diff --git a/utils/templates/etc/uwsgi/apps-available/searx.ini b/utils/templates/etc/uwsgi/apps-available/searx.ini
index 4d69da0cf..45214ef13 100644
--- a/utils/templates/etc/uwsgi/apps-available/searx.ini
+++ b/utils/templates/etc/uwsgi/apps-available/searx.ini
@@ -82,3 +82,6 @@ http = ${SEARX_INTERNAL_HTTP}
# chown -R ${SERVICE_USER}:${SERVICE_GROUP} /run/uwsgi/app/searx
#
# socket = /run/uwsgi/app/searx/socket
+
+# Cache
+cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1