Welcome! Log In Create A New Profile

Advanced

Set expire headers for a list of URI

May 08, 2010 10:02AM
Hi.

What's the best way to tell nginx to set expire headers to list of uri? Like:

www.domain.com/bigscript.js
www.domain.com/weirdfolder/bigstyle.css
www.domain.com/yetanotherfolder/bigjpeg.jpg
.....

I search the forums and I could only find examples for all files
(ico|js|css) and I need the headers only for specific uris.

Cheers!

Leo

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Set expire headers for a list of URI

leocrespo May 08, 2010 10:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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