How to fix 502 on tunneled https plex server

I have no tls verify on, I have verified my server is on and working. It works when I go to the domain on the server, but otherwise it shows a bad gateway. I also am the only one who knows this web address do it cant be over-requested.I am sorry if this is formatted incorrectly, I just really need to get this fixed urgently, thank you.

You should check your cloudflared logs to see why it is reporting a bad gateway