adding expires but not show up in headers

Francis Daly francis at daoine.org
Wed Jun 19 11:03:40 UTC 2013


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 at daoine.org



More information about the nginx mailing list