summaryrefslogtreecommitdiff
path: root/dockerfiles
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-03-05 12:03:44 +0100
committerGitHub <noreply@github.com>2022-03-05 12:03:44 +0100
commit740e3bc90f0e8672c0c003b03d07e3c08b89064c (patch)
tree52fd8141725bc9e10b02342b7903b4a4b458eb9c /dockerfiles
parent0d86e7e4ea7020cc55e6897bbb163287ac2c1c0f (diff)
parent55833364401ed72c30b3e85c16824a75de6b547a (diff)
Merge pull request #932 from dalf/static-file-hash
static files: add a hash as a query
Diffstat (limited to 'dockerfiles')
-rw-r--r--dockerfiles/uwsgi.ini4
1 files changed, 2 insertions, 2 deletions
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