bash
server {
listen 80;
server_name localhost chat.test.com;
location / {
root /temp/test;
index index.html index.htm;
}
location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ {
expires 7d;
add_header Cache-Control "public";
root /temp/test/;
}
}
解决办法:
强制刷新可以后时间会更新
强制刷新后生效:
人工智能学习网站