Welcome!
Log In
Create A New Profile
Home
>
Nginx Related Forums
>
How to...
> Topic
Advanced
caching
Posted by
nginxjunkie
Forum List
Message List
New Topic
nginxjunkie
caching
April 28, 2014 05:33PM
Registered: 9 years ago
Posts: 7
I've set these expires headers in default.conf
The entire site breaks. No CSS and/ or images. Please does anyone know why?
location ~* .(jpg|jpeg|png|gif|ico|css|js)$ {
expires 365d;
}
Edited 2 time(s). Last edit at 04/29/2014 03:47AM by itpp2012.
Reply
Quote
refschool
Re: caching
May 23, 2014 10:16AM
Registered: 9 years ago
Posts: 4
dude i am a newbie, and most messages here have no answers (maybe because nginx is quite new?)
i decided not to to use this directive at the moment, i noticed you didn't put the \ before the dot, but anyway it might not work also.
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 215
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018