location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
    {
        expires      -1;
        error_log off;
        access_log /dev/null;
    }
    
    location ~ .*\.(js|css|html)?$
    {
        expires      -1;
        error_log off;
        access_log /dev/null;
        add_header Cache-Control no-cache;
    }

  

相关文章:

  • 2022-12-23
  • 2021-07-11
  • 2021-12-20
  • 2021-09-12
  • 2022-12-23
  • 2021-11-30
猜你喜欢
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2022-01-22
  • 2022-12-23
  • 2021-06-30
相关资源
相似解决方案