Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[docker] change static-expires to one year

Alexandre Flament55833364401e
diff --git a/dockerfiles/uwsgi.ini b/dockerfiles/uwsgi.ini
index fe518e887..f35e2308b 100644
--- a/dockerfiles/uwsgi.ini
+++ b/dockerfiles/uwsgi.ini
@@ -44,9 +44,9 @@ logto = /var/log/uwsgi/uwsgi.log
add-header = Connection: close
# uwsgi serves the static files
-# expires set to one day as Flask does
+# expires set to one year since there are hashes
static-map = /static=/usr/local/searxng/searx/static
-static-expires = /* 864000
+static-expires = /* 31557600
static-gzip-all = True
offload-threads = %k