I'm not seeing where you determine if a file is present on an edge system,
the try_files directive allows you to redirect or not (locally present or
not). I don't really see a point for using (proxy)cache, the file is present
or it is not.

location / {
try_files $uri @getfrom_origin;
}

location @getfrom_origin {
proxy_pass ......;
}

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,249997,250393#msg-250393

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to