@@ -49,8 +49,7 @@ server {
|
|||||||
proxy_cache STATIC;
|
proxy_cache STATIC;
|
||||||
proxy_ignore_headers Set-Cookie Cache-Control X-Accel-Expires Expires;
|
proxy_ignore_headers Set-Cookie Cache-Control X-Accel-Expires Expires;
|
||||||
proxy_cache_valid 200 48h;
|
proxy_cache_valid 200 48h;
|
||||||
proxy_cache_use_stale error timeout invalid_header updating http_500 http_5\
|
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
|
||||||
02 http_503 http_504;
|
|
||||||
proxy_cache_key "$uri";
|
proxy_cache_key "$uri";
|
||||||
proxy_cache_min_uses 2;
|
proxy_cache_min_uses 2;
|
||||||
add_header X-Cache-Status $upstream_cache_status;
|
add_header X-Cache-Status $upstream_cache_status;
|
||||||
|
|||||||
Reference in New Issue
Block a user