SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[mod] Serving static files with uWSGI (searxng.ini)
Markus Heiser8d69ee5e7f5c
diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini b/utils/templates/etc/uwsgi/apps-archlinux/searxng.iniindex 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=1diff --git a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socketindex 41ed8c1e8..e8facda86 100644--- a/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket+++ b/utils/templates/etc/uwsgi/apps-archlinux/searxng.ini:socket@@ -83,4 +83,14 @@ pythonpath = ${SEARX_SRC}# mkdir -p ${SEARX_UWSGI_SOCKET}# chown -R ${SERVICE_USER}:${SERVICE_GROUP} ${SEARX_UWSGI_SOCKET}#-socket = ${SEARX_UWSGI_SOCKET}\ No newline at end of file+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=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini b/utils/templates/etc/uwsgi/apps-available/searxng.iniindex 618a01cea..9dad84c16 100644--- a/utils/templates/etc/uwsgi/apps-available/searxng.ini+++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini@@ -84,5 +84,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=1diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socketindex d247ec5af..c76d084e1 100644--- a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket+++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket@@ -82,4 +82,14 @@ pythonpath = ${SEARX_SRC}# mkdir -p ${SEARX_UWSGI_SOCKET}# chown -R ${SERVICE_USER}:${SERVICE_GROUP} ${SEARX_UWSGI_SOCKET}#-socket = ${SEARX_UWSGI_SOCKET}\ No newline at end of file+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=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1