Pages triggering error 502 - cloudflare bad gateway
On some pages in my ecommerce, users are reporting that they are experiencing the Cloudflare bad gateway error, would anyone know what it could be?
PS: my pm2 and my server nginx are running normally.
1 Reply
Are you using Cloudflare Tunnels? If so, check tunnel logs, ex:
journalctl -u cloudflared -f --lines=100
. Otherwise, check https://community.cloudflare.com/t/community-tip-fixing-error-502-504-bad-gateway/44008 (your origin's returning that code, check logs/etc)