Forum: NGINX Nginx Expries 30d;

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Helgem M. (Guest)
on 2009-03-08 09: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 != '' ) {
rewrite ^/(.*)$$1 permanent;

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

Anyway to make it includes the /forums/ folder ?

Helgem M. (Guest)
on 2009-03-08 09:11
Also I have version 0.7.24 .

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

This topic is locked and can not be replied to.