mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
Merge pull request #1865 from dalf/uwsgi_static
[enh] Docker image: uwsgi serves the static files directly.
This commit is contained in:
@@ -35,3 +35,10 @@ logto = /var/log/uwsgi/uwsgi.log
|
||||
# No keep alive
|
||||
# See https://github.com/searx/searx-docker/issues/24
|
||||
add-header = Connection: close
|
||||
|
||||
# uwsgi serves the static files
|
||||
# expires set to one day as Flask does
|
||||
static-map = /static=/usr/local/searx/searx/static
|
||||
static-expires = /* 864000
|
||||
static-gzip-all = True
|
||||
offload-threads = %k
|
||||
|
||||
Reference in New Issue
Block a user