proxy_cache and X-Accel-Redirect

Igor A. Ippolitov iippolitov at
Wed Jun 28 09:29:20 UTC 2017


It looks like you don't have any 'proxy_pass' in your /converted 
location at all.
And proxy cache is applied to proxied replies only.

Nginx assumes it's storage is fast enough to serve content and relies on 
OS to cache files.
May be you should serve your files with Nginx instead of NFS?

On 27.06.2017 19:56, deivid__ wrote:
> I mistakenly typed redirect to /nfs because it redirects to /converted which
> has an alias to /nfs.
> The files are delivered, my problem is that the cache is never populated, so
> following requests keep hitting the slow filesystem
> Posted at Nginx Forum:,275138,275171#msg-275171
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list