- #proxy_cache_path /var/cache/nginx/proxy_temp/ levels=1:2 keys_zone=PROXY:10m inactive=1h max_size=1g;
- #proxy_connect_timeout 90;
- #proxy_cache PROXY;
- #proxy_cache_valid 200 302 5m;
- #proxy_cache_valid 404 30m;
- #proxy_cache_valid any 1m;
- #proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
|