Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

proxy_cache



.
proxy_cache nginx 0.9.5. nginx http :

proxy_cache_path /var/www/nginx_cache levels=1:2 keys_zone=one:60m inactive=7d max_size=1000m;
proxy_temp_path /var/lib/nginx/proxy_temp 1 2;

proxy_cache_valid 404 502 1m;
proxy_cache_valid 200 301 302 304 10m;
proxy_cache_valid 503 4s;
proxy_cache_valid any 1h;

:
proxy_cache one;
proxy_ignore_headers "Cache-Control" "Expires" "X-Accel-Redirect" "X-Accel-Expires";
proxy_cache_key $proxy_host$uri$is_args$args;
proxy_buffering on;
proxy_cache_min_uses 1;
proxy_cache_valid 404 502 1m;
proxy_cache_valid 200 301 302 304 10m;
proxy_cache_valid 503 4s;
proxy_cache_valid any 1h;

, /var/www/nginx_cache . nginx nginx . , debug .

- .

--
Best regards,
Anton Kiryushkin,

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.