diff --git a/docker/nginx.conf b/docker/nginx.conf index d5c0efadb..2f7987a9f 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -10,6 +10,11 @@ server { # serve compressed file if filename.gz exists gzip_static on; + location = /console/service-worker.js { + root /usr/share/nginx/html; + add_header Cache-Control "public, max-age=30" always; + } + location /console { root /usr/share/nginx/html; index index.html index.htm;