I route to various backends by using ACLs. I would like to be able to redirect from backend to another, in the case that I need to do authentication or some other action on another backend. But I've run into an issue where a 302 redirect won't work because it's within a single request and tries to make the redirect on the originally matched (via ACL) backend.
Any suggestions on how to deal with this? Is there a better way to set things up? Here's my config: https://gist.github.com/blissdev/7065863 I'd like to be able to redirect a request that goes to the middleman backend to the stumptheband backend. Is this possible? Thanks!