proxy_cache and X-Accel-Redirect

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


David,

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: https://forum.nginx.org/read.php?2,275138,275171#msg-275171
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx




More information about the nginx mailing list