diff --git a/nginx.conf b/nginx.conf index 5217146..7d78c03 100644 --- a/nginx.conf +++ b/nginx.conf @@ -15,6 +15,10 @@ server { try_files $uri $uri/ /index.html; } + location = /index.html { + add_header Cache-Control "no-cache"; + } + location ~* \.(?:js|css|svg|png|jpg|jpeg|gif|ico|webp|woff2?)$ { expires 1y; add_header Cache-Control "public, immutable";