adding expires but not show up in headers

Maxim Dounin mdounin at mdounin.ru
Wed Jun 19 10:18:43 UTC 2013


Hello!

On Wed, Jun 19, 2013 at 05:28:51AM -0400, angelochen960 wrote:

> there is another one, but more specific, but it comes before location ~
> ^/images/:
> 
> location ~ "^(/images/)(\d{1})/(\d{2})/(.*\.jpg$)" {
> }

There is no such thing as "more specific" when you are talking 
about regular expressions.  First match wins.  See here for 
details:

http://nginx.org/r/location

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx mailing list