diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-03-05 12:03:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-05 12:03:44 +0100 |
| commit | 740e3bc90f0e8672c0c003b03d07e3c08b89064c (patch) | |
| tree | 52fd8141725bc9e10b02342b7903b4a4b458eb9c /dockerfiles | |
| parent | 0d86e7e4ea7020cc55e6897bbb163287ac2c1c0f (diff) | |
| parent | 55833364401ed72c30b3e85c16824a75de6b547a (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.ini | 4 |
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 |