Do not reply with 5xx and 4xx errcodes

Is there is anyway to do not answer with 5xx error even if no backend servers available?
I understand how to change error code from received from backend but I couldn’t find a way to rewrite all error codes for example with empty answer.

Use the errorfile directive.

@lukastribus Thanks a lot!