ncr / rack-proxy

A request/response rewriting HTTP proxy. A Rack app.
MIT License
269 stars 94 forks source link

How can I implement a redirect? #95

Open timwis opened 3 years ago

timwis commented 3 years ago

Hello, I'm hoping to use this library to handle 20-some legacy routes alongside my rails app, in some cases to proxy and others to redirect. I notice the readme mentions you can use this to handle complex redirects, and I was wondering if there were any examples I might look to for that? Happy to submit a PR with one to the readme once I find it, if that's helpful.