static files and 404

Igor Sysoev is at rambler-co.ru
Thu Mar 19 23:39:45 MSK 2009


On Thu, Mar 19, 2009 at 01:37:08PM -0700, Cliff Wells wrote:

> On Thu, 2009-03-19 at 13:22 -0700, Cliff Wells wrote:
> > On Thu, 2009-03-19 at 13:21 -0700, Cliff Wells wrote:
> > 
> 
> Not a good regex day for me...
> 
> > Oops, should be
> > 
> > - location ~ /images/subassets/*.gif { 
> > + location ~ /images/subassets/*.\.gif$ {
> 
> location ~ /images/subassets/.*\.gif$ {

Yes :)

location ~ ^/images/subassets/.*\.gif$ {


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list