How can I configure HAPROXY to redirect to api_2 if the backend api_1 responds with a 400 Status? I have the following configuration but it doesnt work:
Frontend conf