Closed rlanhellas closed 4 days ago
@rlanhellas what client do you use? If you use 'curl' with HTTP_RPOXY
env variable, it won't send request with HTTP connect. You can use curl --proxy-tunnel https://127.0.0.1:10000
. I tested with your config, it seems work for me.
thanks @soulxu , simpler than I thought. For me HTTP_PROXY would send a HTTP CONNECT at all
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.
I'm trying to configure Envoy as an explicit proxy, connecting my app to it using HTTP_PROXY and HTTPS_PROXY variables. It is working when I'm trying to use normal flow such as:
I am the client trying to talk with example.com, through the localhost:8080 envoy proxy. (It works) Client (HTTP CONNECT example.com) --> Envoy Proxy --> example.com
I am the client trying to talk with google.com, through the localhost:8080 envoy proxy. But Envoy proxy should connect to meet.google.com. (It DOESN'T works) Client (HTTP CONNECT google.com) --> Envoy Proxy --> meet.google.com.
Not clear how to achieve the second situation, I set my cluster to meet.google.com but it didn't make any difference.
Here is my envoy config yaml file :