How to set expire headers for specific urls?

Ryan Malayter malayter at gmail.com
Sun May 16 18:36:26 MSD 2010


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



More information about the nginx mailing list