-
Notifications
You must be signed in to change notification settings - Fork 13
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
not working like in documentation #2
Comments
Same issue ... |
@gbraux @piotr-s-brainhub which version of http-route-proxy, and what's yours OS ? |
Fixed that in [email protected], compatible problem of node version above 0.x |
Today I checked http-route-proxy in the latest version (0.6.1) works. It didn't work with latest version for time when I reported this issue (2016-08-24). node version: 6.3.1 OS: Linux kernel version: 3.13.0-24-generic distribution: Linux Mint 17 |
Thanks, current version is 0.2.2, I had fixed that problem. |
I created a proxy which should redirect to google according to https://www.npmjs.com/package/http-route-proxy .
proxyServer.proxy([ { from: 'localhost:9000', to: 'www.google.com', https: true, headers: { req: {origin: 'www.google.com', referer: 'www.google.com'}, res: {'access-control-allow-origin': 'https://www.google.com', 'access-control-allow-credentials': true} } } ]);
After opening localhost:9000 in the browser, there is an infinite loading and in the stdout I obtain the following:
Sorry proxy error, http-route-proxy can't match any forward rule, please check your proxy config
The text was updated successfully, but these errors were encountered: