-
Notifications
You must be signed in to change notification settings - Fork 823
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
How to configure tunneling proxy #68
Comments
This question is probably related to: #22 You might want to check out the corporate proxy example: https://github.com/chimurai/http-proxy-middleware/blob/master/recipes/corporate-proxy.md Try to use |
@chimurai thanks heaps for the reply. I will check first thing in the morning (Aus/Syd) time and update the thread |
I am closing this since it's works perfectly well when I pass a https agent as @chimurai mentioned in the post |
@chimurai |
Same here |
Problem Description
I am using proxy middleware to communicate with an endpoint which lives in open internet but I am behind a corporate proxy. So when I try to connect to the endpoint I am getting following error.
ROXY ERROR: ENOTFOUND. localhost:3000 -> https://www.example.com.au/login
I wonder how to configure agent for http-proxy-middleware.
I have tested a simple https with a agent and works fine and code as follows.
The text was updated successfully, but these errors were encountered: