diff --git a/server/conf/nginx_vhost.conf.master b/server/conf/nginx_vhost.conf.master index 7e1a203e9094d4fc19a7eec3a5ccf18c375bf476..6c50c6e473b1d55f7cd57a14e81fa611bb102199 100644 --- a/server/conf/nginx_vhost.conf.master +++ b/server/conf/nginx_vhost.conf.master @@ -46,6 +46,31 @@ server { 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; + } error_log /var/log/ispconfig/httpd//error.log;