Cloudflare 502 Bad Gateway
Nginx [Engintron] Blocks Cloudflare
SOLUTION:
go to the menu -> Edit your custom_rules for Nginx
On line 25, uncomment the following line by removing the # character. Then replace XXX.XXX.XXX.XXX with your whm/cPanel shared IP
set $PROXY_DOMAIN_OR_IP “XXX.XXX.XXX.XXX”;
Engintron will reboot and everything will work immediately
![](https://blog.index.pe/wp-content/uploads/2022/02/Engitron-1024x494.png)