Is it possible to use http.forwardproxy behind CloudFlare?

Hello,

Recently I signed up coludflare to accelerate my website, but after that I can’t access the forwardproxy function offered by caddy server. While my site is accesible over cdn.

My Caddyfile is like this

my.domain {

tls myemail

forwardproxy {
basicauth
hide_ip
hide_via
response_timeout 10
dial_timeout 10
}
}

To access the http site will return 403 Forbidden cloudflare, and accessing the https site will have an ERR_TUNNEL_CONNECTION_FAILED error in chrome. Caddy log has no relevant information.
Is there any error of principle? Or something wrong either in configurations of caddy or cloudflare?
Please give out your advice.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.