Welcome! Log In Create A New Profile

Advanced

Re: ssl accelerator

May 01, 2009 04:36AM
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/
Subject Author Posted

ssl accelerator

lovewadhwa April 29, 2009 10:08AM

Re: ssl accelerator

lovewadhwa April 30, 2009 07:26AM

Re: ssl accelerator

Igor Sysoev April 30, 2009 08:08AM

Re: ssl accelerator

Joe Bofh April 30, 2009 06:49PM

Re: ssl accelerator

Igor Sysoev May 01, 2009 01:46AM

Re: ssl accelerator

Joe Bofh May 01, 2009 02:38AM

Re: ssl accelerator

Igor Sysoev May 01, 2009 02:43AM

Re: ssl accelerator

Joe Bofh May 01, 2009 04:15AM

Re: ssl accelerator

Igor Sysoev May 01, 2009 04:36AM

Re: ssl accelerator

Joe Bofh May 01, 2009 04:13AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 311
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready