I have a HTTP proxy setup in my local network using raspberry pi. I want to use the tunnel with a public domain, and this domain will point to my local network’s proxy server. Basically I have the similar question as this (https://community.cloudflare.com/t/cloudflare-tunnel-and-proxy-issue/419945
).
Using this can get the correct response:
root@raspberry:/# curl -x http://localhost:8080 http://example.com -v
But below command no response:
curl -x http://public-domain.com http://example.com -v
What I tried is setting up the tunnel using docker and on the Cloudflare tunnel dashboard, set the public domain pointing to my localhost network’s http proxy server. If I just go to http://public-domain.com
, it will shows a Cloudflare’s 502 page? Shouldn’t it show the same blank page as I just go to my http proxy http://localhost:8080
page on the browser?