remove js/css cache

This commit is contained in:
jxxghp
2024-06-09 08:04:53 +08:00
parent b5eaba26da
commit d13b5622c7

View File

@ -41,7 +41,7 @@ http {
try_files $uri $uri/ /index.html;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
location ~* \.(png|jpg|jpeg|gif|ico|svg)$ {
# 静态资源
expires 1y;
add_header Cache-Control "public, immutable";