Welcome! Log In Create A New Profile

Advanced

Setting expires header results in 404 ?

April 02, 2010 06:45PM
location ~* \.(ico|css|js|gif|jpg|png)$ {
expires 7d;
}
If I add this to my server conf it will cause all those requests to fail with a 404..I'm feeling silly for missing this, and I know it's probably very easy to fix...but how? :)
Subject Author Posted

Setting expires header results in 404 ?

RoastedPeanut April 02, 2010 06:45PM

Re: Setting expires header results in 404 ?

Maxim Dounin April 02, 2010 07:02PM

Re: Setting expires header results in 404 ?

RoastedPeanut April 03, 2010 03:25AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
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