You can follow below steps to enable ProxyErrorOverride:
Login to WHM.
Go to Service Configuration under Apache Configuration.
Here you have to click on Include Editor.
You will find Post VirtualHost Include after scrolling down and insert the below line:
ProxyErrorOverride On
Click on “Update”...