Welcome! Log In Create A New Profile

Advanced

Re: ExpiresByType

Maxim Dounin
September 13, 2009 07:00AM
Hello!

On Sun, Sep 13, 2009 at 06:30:12AM -0400, gogobu wrote:

> Hi,
>
> Is there any way to configure nginx to set the expiration based on the mime type?

No. You have to use separate locations with different expires set.

Maxim Dounin

>
> Something similar to Apache's "ExpiresByType": http://httpd.apache.org/docs/2.0/mod/mod_expires.html#expiresbytype
>
> Thanks,
> Michael
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,6705,6705#msg-6705
>
>
Subject Author Posted

ExpiresByType

gogobu September 13, 2009 06:30AM

Re: ExpiresByType

Maxim Dounin September 13, 2009 07:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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