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

Re: adding expires but not show up in headers

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

Hi there,

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

If the only two "location" blocks in your server are:

location ~ "^(/images/)(\d{1})/(\d{2})/(.*\.jpg$)" {
location ~ ^/images/ {

then the request for /images/sample.jpg will be handled in the second one.

Which is not what you reported seeing.

f
--
Francis Daly francis@daoine.org

_______________________________________________
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>