We have a requirement where microgateway hosted inside client network has to pass through forward proxy before reaching to Apigee edge .
Any calls going through forward proxy requires basic authentication. for sending analytics does microgateway have any capabilities to perform this task, is there any node js package i can refer to proceed further.
Any suggestion will be helpful.
Microgateway respects the 'HTTP_PROXY' variable. You can specify the authentication credentials in the variable. For example:
export http_proxy='http://user:password@proxyserver:port/'
Hi @anil paduchuri,
These settings will make the entire node instance use a proxy server. Is that what you are looking to accomplish? If so, these settings should work.
Hi @Robert Johnson,
I only want to use proxy server for Micro to Edge cloud communication. For example, on startup, for Microgateway config, sending analytics to Edge, and when micro needs to call the auth proxy.
Any calls through my own created micro proxies should not route through forward proxy as these are microservices behind firewall.
I need my proxy calls to stay within internal network.
Thanks
Got it. My suggested approach won’t work in this case as all traffic would be routed, including your micro proxies. Well, it might be ok if the customer can make that forward proxy “aware” of those internal services.
It would be nice if there were a config available within Microgateway such as “product forward proxy” that was specifically for the product functionality but didn’t impact the actual proxies we build. However, perhaps there is a more elegant solution?
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |