nginx js和jpg图片缓存设置650) this.width=650;" src="/upload/getfiles/default/2022/11/10/20221110034608221.jpg" title="图像 201512231.png" />listen 80; server_name xxxxx; index index.htm index.html; root /to/path/; location ~ .*\.(js|css)?$ { expires 5d; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; ...