Re: location filter

2014-10-03 Thread Francis Daly
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.giflogo_25_1.gif etc..) That looks right to me -- it will match the examples you give; it will also mat

Re: location filter

2014-10-03 Thread rapamiti
hi, thanks you right, so i must add a location like this : location ~logo_(\d+)_(\d+).gif$ { My regex is correct ? (ex: logo_5435_252.giflogo_25_1.gif etc..) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253740,253745#msg-253745 ___ ng

Re: location filter

2014-10-03 Thread Francis Daly
On Fri, Oct 03, 2014 at 04:32:06AM -0400, rapamiti wrote: Hi there, > i use actually : > location ~* > ^.+.(jpg|jpeg|gif|png|bmp|ico|pdf|flv|swf|exe|txt|css|js|xml|woff|eot|ttf|svg)$ > { > and all is ok > > but i want to remove from nginx a dynamic image, ex : logo_125_21.gif who is > generated

location filter

2014-10-03 Thread rapamiti
Hi everybody, i'm a newbie with nginx, i use nginx for static content and apache. i use actually : location ~* ^.+.(jpg|jpeg|gif|png|bmp|ico|pdf|flv|swf|exe|txt|css|js|xml|woff|eot|ttf|svg)$ { and all is ok but i want to remove from nginx a dynamic image, ex : logo_125_21.gif who is generated by