Commit a4af3915 authored by Kunkka王辉's avatar Kunkka王辉 😲

js css缓存

parent aa6c5f80
......@@ -409,6 +409,14 @@ server {
# add_header Access-Control-Allow-Methods "GET, POST, OPTIONS";
try_files \$uri \$uri/ /index.html;
}
location ~ .*\.(js|css)?$
{
root /app/www/crm;
expires 7d;
add_header Cache-Control "public";
}
}
EOF
# presale-micros
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment