summaryrefslogtreecommitdiff
path: root/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-07-23 18:16:10 +0200
committerGitHub <noreply@github.com>2025-07-23 18:16:10 +0200
commit42f102ce1bbcd76d49db0047d9ad141609eac946 (patch)
tree18799a76d153b49701b86c99f4b9f71003c80b4c /utils/templates/etc/uwsgi/apps-available/searxng.ini:socket
parent5cbf42262189c2329fdd950b519b61dd83ae7977 (diff)
[enh] py: whitenoise for static handling (#5032)
While looking at ways to better handle static files, I saw a package that replaces Flask `static_folder` functionality. Not only it's considerably faster, but already includes the capability to serve sidecars without having to intercept. This also replaces the uWSGI folder mapping functionality. Closes https://github.com/searxng/searxng/issues/4977
Diffstat (limited to 'utils/templates/etc/uwsgi/apps-available/searxng.ini:socket')
-rw-r--r--utils/templates/etc/uwsgi/apps-available/searxng.ini:socket3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket
index fb96973ba..3e65cabb9 100644
--- a/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket
+++ b/utils/templates/etc/uwsgi/apps-available/searxng.ini:socket
@@ -75,7 +75,4 @@ pythonpath = ${SEARXNG_SRC}
socket = ${SEARXNG_UWSGI_SOCKET}
buffer-size = 8192
-# To serve the static files via the WSGI server
-static-map = /static=${SEARXNG_STATIC}
-static-gzip-all = True
offload-threads = %k