Closed tux-cheeleong closed 9 years ago
Hi @tuxccl. You know that you can build your own custom proxy with passing the Backend your self. Is there any reason we want it in the default example constructor?
There are cases where upstream serves multiple paths and take in parameter (example, /hello/world?foo=bar). But the default behaviors ignores these from the request and assume upstream serving only the root. Probably it is sufficient in your use case but adding these few lines is enough for a more general use case (it might look hackish because I don't want to change the interface).
Got it, thanks for the reply. I just wanted to be sure :) Merging it, thanks :+1:
Minor addition to allow the proxy to pass request path and parameter.