Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: adding expires but not show up in headers

$
0
0
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>