diff --git a/frontend/nginx/default.conf b/frontend/nginx/default.conf index c532f0a..d3bb718 100644 --- a/frontend/nginx/default.conf +++ b/frontend/nginx/default.conf @@ -77,12 +77,10 @@ server { } location / { - index index.html; - - try_files $uri =404; + try_files $uri $uri/ /index.html; if ($static_file) { - add_header Cache-Control "public, max-age=31536000, immutable" always; + add_header Cache-Control "max-age=600" always; } add_header Cache-Control "no-store, no-cache" always;