How to fix 502 Bad Gateway | Cloudflare and Nginx [Engintron] – WHM/Cpanel

Cloudflare 502 Bad Gateway

Nginx [Engintron] Blocks Cloudflare

SOLUTION:

go to 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

Commentary

Comments

index.pe: Specialist in Front-End, Back-End, SEO, Social Media and UX.
Related Post
Leave a Comment

This page uses cookies.