HAProxy to redirect to another backend if there is a 400 'Bad request'

前端 未结 0 1418
故里飘歌
故里飘歌 2020-12-31 10:56

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题