Problems setting ttl on single image

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 WebPageTest Test - Running web page performance and optimization tests...

Here’s a snippet of my config…

    location = /assets/Photo\ Gallery/Weather/current\.jpg {
            expires 10m;
            log_not_found off;
    }

    location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
            expires max;
            log_not_found off;
    }

Why is is not setting a 10 minute expiry - the webpagetest report should
pick up on it??? I’m sort of expecting that it may have something to do
with the space in the URL?

Any pointers gratefully received (:

Steve

Steve H. BSc(Hons) MIITP

Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa

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.

On Mon, 2013-12-30 at 02:05 +0100, Richard S. wrote:

than escaping spaces.

Yup, that fixed it thanks!

Cheers,

Steve

Steve H. BSc(Hons) MIITP

Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa