When I go to the mail URL (ie https://mail.domain.com) I get a 502 Bad Gateway error, but if I go to https://mail.domain.com:8443 I get a log in prompt and am able to log to my email just fine. I can't seem to figure out how to fix this. Any suggestions?

Thank you.