Caching servers in Local ISPs !!

shahzaib shahzaib shahzaib.cb at
Tue May 27 12:16:05 UTC 2014

@itpp, thanks for reply. I am working on proxy_cache . My all webservers in
local ISP will be proxy servers and all requests regarding flv,mp4,jpeg
from asia will be route through the proxy servers and data will be cache in
proxy servers. I think, this will help me with caching. I am testing it on
local and its working as it should. Following is the edge server config :

proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=static:1000m;
proxy_temp_path /tmp;

server {
    listen       80;
#       proxy_cache one;
        root /var/www/html/test;
access_log /var/log/nginx/access.log ;
    error_log /var/log/nginx/error.log;

 location / {
        proxy_cache static;
        proxy_cache_min_uses 1;
            proxy_cache_valid 200 301 302 120m;
#            proxy_cache_valid 404 1m;


Please let me know if the method is correct.

On Tue, May 27, 2014 at 3:55 PM, itpp2012 <nginx-forum at> wrote:

> I'd call that provisioning, a simple try_files directive can deal with that
> while the provisioning service syncs.
> Then jump left for cached contents or jump right for non-cached contents.
> Posted at Nginx Forum:
> _______________________________________________
> nginx mailing list
> nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list