One of my Cloudflare Tunnels is returning a Bad Gateway error

Hey hi can you please help me where did you do this i also use portainer docker and i am getting 502 errors every few times… Where did you turn off the tls inside Cloudflare dashboard or the docker server?