Welcome! Log In Create A New Profile

Advanced

Re: Expires directive and try_files rewrites not working

December 02, 2009 02:55PM
Hi Dounin, thanks for the link
I have actually read it more than once before but it helps when someone puts it in context for you!

So in other words my first location;
location ~* \.(jpg|jpeg|gif|css|png|ico|js)$ {
expires 7d;
}

It will serve all files with that file extension and then no other matches or locations will be used, I've got that right?
In that case I guess we will have a little difficulty implementing the expires directive for our site
Is there some other way we could implement it and still do the rewrites?
Subject Author Posted

Expires directive and try_files rewrites not working

Per Hansson December 02, 2009 01:22PM

Re: Expires directive and try_files rewrites not working

Maxim Dounin December 02, 2009 01:54PM

Re: Expires directive and try_files rewrites not working

Per Hansson December 02, 2009 02:55PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 224
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready