nginx, caching and X-Accel-Redirect

from blog Mumbling about computers, | ↗ original
Nginx is awesome. I use it everywhere, for load balancing, file caching, reverse-proxying, rate-limiting, etc. Now, I'm trying to cache a file served from an X-Acccel-Redirect header and it seems impossible. My idea was to resolve requests to files in a back-end and serve these files without a client redirect. In fact, the original files are not accessible by the client. For...