|
# Standard Proxy Cache Settings
|
|
# Include this inside server blocks that use proxy_cache
|
|
|
|
proxy_cache_revalidate on;
|
|
proxy_cache_lock on;
|
|
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
|
|
add_header X-Proxy-Cache $upstream_cache_status;
|