Welcome! Log In Create A New Profile

Advanced

Re: adding expires but not show up in headers

Francis Daly
June 19, 2013 07:04AM
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
Subject Author Posted

adding expires but not show up in headers

angelochen960 June 19, 2013 12:03AM

Re: adding expires but not show up in headers

Francis Daly June 19, 2013 04:06AM

Re: adding expires but not show up in headers

angelochen960 June 19, 2013 05:28AM

Re: adding expires but not show up in headers

Maxim Dounin June 19, 2013 06:20AM

Re: adding expires but not show up in headers (SOLVED)

angelochen960 June 19, 2013 06:40AM

Re: adding expires but not show up in headers

Francis Daly June 19, 2013 07:04AM

Re: adding expires but not show up in headers

angelochen960 June 19, 2013 05:31AM

Re: adding expires but not show up in headers

smith121 June 28, 2013 01:19AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 262
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready