atom feed10 messages in ru.sysoev.nginxRe: ssl accelerator
FromSent OnAttachments
lovewadhwaApr 29, 2009 7:08 am 
lovewadhwaApr 30, 2009 4:25 am 
Igor SysoevApr 30, 2009 5:07 am 
Joe BofhApr 30, 2009 3:48 pm 
Igor SysoevApr 30, 2009 10:45 pm 
Joe BofhApr 30, 2009 11:38 pm 
Igor SysoevApr 30, 2009 11:43 pm 
Joe BofhMay 1, 2009 1:13 am 
Joe BofhMay 1, 2009 1:15 am 
Igor SysoevMay 1, 2009 1:36 am 
Subject:Re: ssl accelerator
From:Igor Sysoev (is@rambler-co.ru)
Date:May 1, 2009 1:36:34 am
List:ru.sysoev.nginx

On Fri, May 01, 2009 at 10:15:44AM +0200, Joe Bofh wrote:

Igor,

While I have your attention, is there a better way to write status blocks than the following? I figure this would be useful information for everyone.

error_page 500 502 503 504 /500.html; location = /500.html { expires 5d; root /var/www/crm; }

error_page 404 /404/index.php; location = /404/index.php { expires 5d; root /var/www/crm; }

1) "expires" works only for 200, 204, 301, 302, and 304 responses. 2) /404/index.php will be handled as static file. 3) "root" may be set on server level, if it's common for server.