Origin rules not working

It seems like the port rewriting isn’t working for your self-hosted services on Cloudflare, resulting in a 502 HTTP error. Check SSL/TLS settings, confirm correct origin server configuration, review Cloudflare Firewall Rules, use diagnostic tools for more information, check origin server logs, and consider reaching out to Cloudflare support for assistance if needed. Ensure all configurations, including DNS settings, are accurate.