Cache by mime type

Valentin V. Bartenev ne at
Fri Jul 20 18:31:31 UTC 2012

On Friday 20 July 2012 22:23:26 burn wrote:
> but I'm not using upstream directive. Do you mean that it's only
> possible to upstream instead of direct proxy_pass?

Actually "proxy_pass" uses upstream module regardless of whether you're
using the upstream directive or not.

> I tried that. I still see non-image files in cache.

Also you should use "proxy_no_cache" instead of "proxy_cache_bypass".

 wbr, Valentin V. Bartenev

More information about the nginx mailing list