mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 04:41:00 +00:00
[docker] change static-expires to one year
This commit is contained in:
parent
1c7d8815fb
commit
5583336440
1 changed files with 2 additions and 2 deletions
|
@ -44,9 +44,9 @@ logto = /var/log/uwsgi/uwsgi.log
|
||||||
add-header = Connection: close
|
add-header = Connection: close
|
||||||
|
|
||||||
# uwsgi serves the static files
|
# 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-map = /static=/usr/local/searxng/searx/static
|
||||||
static-expires = /* 864000
|
static-expires = /* 31557600
|
||||||
static-gzip-all = True
|
static-gzip-all = True
|
||||||
offload-threads = %k
|
offload-threads = %k
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue