diff --git a/docker_assets/nginx.conf b/docker_assets/nginx.conf index 6168cdf6..8c4a15ec 100644 --- a/docker_assets/nginx.conf +++ b/docker_assets/nginx.conf @@ -50,7 +50,17 @@ server { root /app/static; index index.html; + location ~* .(?:css|js)$ { + try_files $uri $uri/ /index.html =404; + } + + location = /index.html { + add_header Cache-Control 'no-store'; + expires 0; + } + location / { + add_header Cache-Control 'no-store'; try_files $uri $uri/ /index.html =404; } }