Welcome! Log In Create A New Profile

Advanced

Re: problems setting ttl on single image...

December 29, 2013 08:58PM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

problems setting ttl on single image...

GreenGecko December 29, 2013 07:04PM

Re: problems setting ttl on single image...

Richard Stanway December 29, 2013 08:06PM

Re: problems setting ttl on single image...

GreenGecko December 29, 2013 08:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 123
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready