Welcome! Log In Create A New Profile

Advanced

Re: location filter

Francis Daly
October 03, 2014 04:48PM
On Fri, Oct 03, 2014 at 06:02:59AM -0400, rapamiti wrote:

Hi there,

> so i must add a location like this :
> location ~logo_(\d+)_(\d+).gif$ {
>
> My regex is correct ? (ex: logo_5435_252.gif logo_25_1.gif etc..)

That looks right to me -- it will match the examples you give; it will
also match some others like logo_5435_252gif or logo_25_1Xgif; and it
will not match logo_5435_252.GIF

f
--
Francis Daly francis@daoine.org

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

location filter

rapamiti October 03, 2014 04:32AM

Re: location filter

Francis Daly October 03, 2014 05:06AM

Re: location filter

rapamiti October 03, 2014 06:02AM

Re: location filter

Francis Daly October 03, 2014 04:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 252
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready