proxy_cache_valid inheritance

Piotr Sikora piotr.sikora at frickle.com
Sat Jun 19 03:25:27 MSD 2010


Hi,

> I don't know if setting proxy_cache_valid in location{} will totaly
> overwritten proxy_cache_valid from http{} or just overwritten
> specified values ?

First one. If you've got at least one "proxy_cache_valid" directive in your 
location {} block then only options set in that location {} block will be 
used. This rule applies to most of the nginx settings.

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >
 




More information about the nginx mailing list