Closed Abdullah13521 closed 2 days ago
Related: #200
To be clear as the example showed, pingora does support https as a reserve proxy.
As the instruction stated: curl http://localhost:6191
(without --proxy
) will connect you to https://one.one.one.one.
That being said, there might be a problem handling CONNECT proxy protocol.
This question has been stale for a week. It will be closed in an additional day if not updated.
This issue has been closed because it has been stalled with no activity.
I'm trying to run the pingora-proxy examples and it looks like they don't support HTTPS requests? I'm wondering if it's possible to support HTTPS requests and how to do so.
For context, I'm running this example https://github.com/cloudflare/pingora/blob/main/pingora-proxy/examples/gateway.rs
When I run this command:
curl --proxy http://localhost:6191 http://one.one.one.one
It works fine, but when I run it with HTTPS:
curl --proxy http://localhost:6191 https://one.one.one.one
I get the following error:curl: (56) CONNECT tunnel failed, response 400
I want to use pingora-proxy to support upstream connections using TLS, so having HTTPS support is necessary.