Nginx: conditional "expires" directive

Igor Sysoev igor at sysoev.ru
Tue Aug 16 18:23:07 UTC 2011


No, your mistake was a "break" which stops processing before any "if" would run. Also it is better to use "map" to set value instead of "set/if".

-- 
Igor Sysoev

16.08.2011, в 14:18, "somebi" <nginx-forum at nginx.us> написал(а):

> Thanks. Now it's working. I guess my mistake was in additional quotes.
> 
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,213841,213874#msg-213874
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list