Forum: NGINX Nginx Expries 30d;

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8e6a19cfb5ea4ca1cf42f1db65550c35?d=identicon&s=25 Helgem Megelaat (vmirjamali)
on 2009-03-08 08:09
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
8e6a19cfb5ea4ca1cf42f1db65550c35?d=identicon&s=25 Helgem Megelaat (vmirjamali)
on 2009-03-08 08:11
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 topic is locked and can not be replied to.