From b31e340728f6e76c1a4445f62df652d9b27cb47c Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 04 Apr 2012 10:55:34 -0400
Subject: [PATCH] - Fixed FS#2120.
---
server/conf/nginx_vhost.conf.master | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/server/conf/nginx_vhost.conf.master b/server/conf/nginx_vhost.conf.master
index 7e1a203..6c50c6e 100644
--- a/server/conf/nginx_vhost.conf.master
+++ b/server/conf/nginx_vhost.conf.master
@@ -46,6 +46,31 @@
error_page 500 /error/500.html;
error_page 502 /error/502.html;
error_page 503 /error/503.html;
+ recursive_error_pages on;
+ location = /error/400.html {
+ internal;
+ }
+ location = /error/401.html {
+ internal;
+ }
+ location = /error/403.html {
+ internal;
+ }
+ location = /error/404.html {
+ internal;
+ }
+ location = /error/405.html {
+ internal;
+ }
+ location = /error/500.html {
+ internal;
+ }
+ location = /error/502.html {
+ internal;
+ }
+ location = /error/503.html {
+ internal;
+ }
</tmpl_if>
error_log /var/log/ispconfig/httpd/<tmpl_var name='domain'>/error.log;
--
Gitblit v1.9.1