dengolius
New Pleskian
I am using apache+nginx on Server. I added this config into Additional directives for HTTP:
ErrorDocument 500 /var/www/vhosts/site.com/error_docs/error503.html
And this into Additional nginx directives
error_page 500 /error503.html;
error_page 501 /error503.html;
error_page 502 /error503.html;
error_page 503 /error503.html;
location = /error503.html {root /var/www/vhosts/site.com/error_docs;}
But those directives are not working. I get 500 error page:
This page isn’t working
site.com is currently unable to handle this request.
HTTP ERROR 500
What I'am doing wrong?
ErrorDocument 500 /var/www/vhosts/site.com/error_docs/error503.html
And this into Additional nginx directives
error_page 500 /error503.html;
error_page 501 /error503.html;
error_page 502 /error503.html;
error_page 503 /error503.html;
location = /error503.html {root /var/www/vhosts/site.com/error_docs;}
But those directives are not working. I get 500 error page:
This page isn’t working
site.com is currently unable to handle this request.
HTTP ERROR 500
What I'am doing wrong?