Nginx缓存使用始终服务器响应

时间:2019-06-14 08:10:47

标签: nginx nginx-config

如何配置Nhinx缓存以始终从服务器发送响应,但是在50 *或从缓存发送超时错误的情况下?

我们尝试使用proxy_cache_bypass $ request_uri和proxy_cache_use_stale http_500,但是nginx始终向服务器发送请求,而不使用过时缓存

0 个答案:

没有答案