Messages per Month
| From | Sent On | Attachments |
|---|---|---|
| lovewadhwa | Apr 29, 2009 7:08 am | |
| lovewadhwa | Apr 30, 2009 4:25 am | |
| Igor Sysoev | Apr 30, 2009 5:07 am | |
| Joe Bofh | Apr 30, 2009 3:48 pm | |
| Igor Sysoev | Apr 30, 2009 10:45 pm | |
| Joe Bofh | Apr 30, 2009 11:38 pm | |
| Igor Sysoev | Apr 30, 2009 11:43 pm | |
| Joe Bofh | May 1, 2009 1:13 am | |
| Joe Bofh | May 1, 2009 1:15 am | |
| Igor Sysoev | May 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.
-- Igor Sysoev http://sysoev.ru/en/





