-
Notifications
You must be signed in to change notification settings - Fork 2k
Using .createProxy() Errors When Used #553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
To clarify, the createProxyServer() method works as expected.
Unfortunately this method doesn't allow you to filter by host. |
thanks for reporting, fixed in |
Not a problem. |
(for the record, you can use the same methods on .createProxyServer().. it will work in the same way |
Right on. I was trying to proxy to different ports depending on the
However this works:
|
From your examples on the Nodejitsu blog, the following code should redirect correctly:
When you hit http://localhost:8000, the proxy process dies with this error:
Node v0.10.24, http-proxy v1.0.0
The text was updated successfully, but these errors were encountered: