problems setting ttl on single image...

Richard Stanway r1ch+nginx at
Mon Dec 30 01:05:32 UTC 2013

> 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.

More information about the nginx mailing list