Re: problems setting ttl on single image...

2013-12-29 Thread Steve Holdoway
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

Re: problems setting ttl on single image...

2013-12-29 Thread Richard Stanway
> 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 i

problems setting ttl on single image...

2013-12-29 Thread Steve Holdoway
I'm trying to enable a 10 minute autorefresh for my webcam which you can see at http://www.diamondharbour.org.nz/Local-Weather.html Server runs nginx 1.4.4 ( and an ancient CMS called Etomite ). Here's the WPT result http://www.webpagetest.org/result/131229_HV_MK2/ Here's a snippet of my config