ErrorDocument when using Apache as reverse-proxy
Solution 1:
Sure, just exclude it from the ProxyPass
rules. These are evaluated in order, so make sure the exclusion is on top:
ErrorDocument 503 /error/503.html
ProxyPass /error/ !
ProxyPass / http://127.0.0.1:xxxx/ timeout=15 connectiontimeout = 15
ProxyPassReverse / http://127.0.0.1:xxxx/