diff options
author | Alexandre Flament <alex@al-f.net> | 2022-02-28 21:41:33 +0100 |
---|---|---|
committer | Alexandre FLAMENT <alexandre.flament@hesge.ch> | 2022-03-05 10:52:34 +0000 |
commit | 55833364401ed72c30b3e85c16824a75de6b547a (patch) | |
tree | 897b1cde0fd7e792f768032e2c902d520f27030a | |
parent | 1c7d8815fb54dd37ed6765560c223cb93976b6f4 (diff) | |
download | searxng-55833364401ed72c30b3e85c16824a75de6b547a.tar.gz searxng-55833364401ed72c30b3e85c16824a75de6b547a.zip |
[docker] change static-expires to one year
-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 |