解决页面缓存问题
location / {
if ($request_filename ~* .*\.(?:htm|html)$) ## 配置页面不缓存html和htm结尾的文件
{
add_header Cache-Control "private, no-store, no-cache, must-revalidate, proxy-revalidate";
}
root html/dist;
index index.html index.htm;
}
设置请求大小
client_max_body_size 1024m;