Nginx Expries 30d;

Hi I’m trying to get my expires config to work with my site, but for it
to work i need to find a way to exclude the folder forums from it’s
effects since it has it’s own expired set within it’s software.

Any body know the code? At the moment it’s like this (just the expires
part of it):

f ($host != ‘www.animecrazy.net’ ) {
rewrite ^/(.*)$ http://www.animecrazy.net/$1 permanent;
}

location ~* i.+.(ico|css|js|gif|jpg|png|bmp)$
{
expires 30d;
}

Anyway to make it includes the /forums/ folder ?

Thanks,
PSPc

Also I have version 0.7.24 .

Is there any major improvements that are worth upgrading my 4 servers to
the latest version?

thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs