Expires: modified +1d?

Igor Sysoev is at rambler-co.ru
Thu May 15 18:59:41 MSD 2008


On Thu, May 15, 2008 at 03:42:04PM +0100, Phillip B Oldham wrote:

> Works great, and thanks for the speedy response. Will this be added to 
> the trunk, or will I have to patch every time I compile?

I will add it in 0.7.0 next week.

> Igor Sysoev wrote:
> >On Thu, May 15, 2008 at 03:23:20PM +0400, Igor Sysoev wrote:
> >
> >  
> >>On Thu, May 15, 2008 at 10:26:36AM +0100, Phillip B Oldham wrote:
> >>
> >>    
> >>>Is it possible to set the expires header based on the modified time of a 
> >>>file? I know you can do this in lighttpd and apache, but I can't find 
> >>>any configuration examples for nginx.
> >>>      
> >>Try the attached patch.
> >>
> >>It allows
> >>
> >>    expires modified +1d;
> >>    
> >
> >The patch itself.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list