1.配置 缓存更新,后端故障,允许使用过期缓存

#缓存配置 , 不能去掉
proxy_cache_path proxy_cache levels=1:2 keys_zone=page_cache:512m inactive=1m max_size=80g use_temp_path=off;
#配置 缓存更新,后端故障,允许使用过期缓存
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;

相关文章:

  • 2021-05-21
  • 2021-11-11
  • 2022-12-23
  • 2021-06-24
  • 2021-04-06
  • 2021-08-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-12
  • 2022-01-11
  • 2021-08-29
  • 2021-10-07
  • 2021-07-12
相关资源
相似解决方案