标签: nginx nginx-config
如何配置Nhinx缓存以始终从服务器发送响应,但是在50 *或从缓存发送超时错误的情况下?
我们尝试使用proxy_cache_bypass $ request_uri和proxy_cache_use_stale http_500,但是nginx始终向服务器发送请求,而不使用过时缓存