diff --git a/docker/default.conf b/docker/default.conf index d6a77f842289b4f525e78be32febea73885c664a..af7cfa68037a4a19e1fb61849f6127e943d92b73 100644 --- a/docker/default.conf +++ b/docker/default.conf @@ -3,6 +3,12 @@ server { location / { root /usr/share/nginx/html; index index.html; + add_header Cache-Control no-cache always; try_files $uri $uri/ /index.html; + + location /static { + expires 1y; + add_header Cache-Control public; + } } } \ No newline at end of file