is there a way with a help of nginx to reroute http requests based on 200ok response?
for example:
server A sends http req to nginx which proxying the req to server B, server B replies with 200ok and proprietary header inside, nginx will reroute the http req to server C based on the proprietary header