problems setting ttl on single image...

Steve Holdoway steve at greengecko.co.nz
Mon Dec 30 01:57:18 UTC 2013


On Mon, 2013-12-30 at 02:05 +0100, Richard Stanway wrote:
> > Here's a snippet of my config...
> >
> >         location = /assets/Photo\ Gallery/Weather/current\.jpg {
> >                 expires 10m;
> >                 log_not_found off;
> >         }
> >
> 
> The "location =" syntax does not use regular expressions. You may also
> want to surround the string with quotes if it contains spaces rather
> than escaping spaces.
> 
Yup, that fixed it thanks!

Cheers,

Steve
-- 
Steve Holdoway BSc(Hons) MIITP
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa



More information about the nginx mailing list