diff --git a/nginx.conf b/nginx.conf index 963c686..18f05f0 100644 --- a/nginx.conf +++ b/nginx.conf @@ -46,7 +46,7 @@ server { try_files $uri =404; } - location ~* ^/assets/.*\.(woff2|jpg|webp)$ { + location ~* ^/assets/.*\.(woff2|jpg|webp|js|css)$ { expires 30d; add_header Cache-Control "public" always; add_header X-Content-Type-Options "nosniff" always;