How to set expire headers for specific urls?

Leonardo Crespo leo at leocrespo.com
Tue May 18 07:12:24 MSD 2010


Thanks Ryan.

On Mon, May 17, 2010 at 12:36 AM, Ryan Malayter <malayter at gmail.com> wrote:
> On Sat, May 15, 2010 at 6:20 AM, Leonardo Crespo <leo at leocrespo.com> wrote:
>> I have about 12 javascripts and 3 css files that need to have expire
>> headers set to max, how can I do this?
>>
>
> Use a separate location with different expires settings. It will
> probably have to be regex-based location unless they are all in the
> same directory with nothing else in that directory.
> --
> RPM
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list