Cloudflare is returning a 502 Bad Gateway but curl returns 301 Moved Permanently

That error page means that Cloudflare got a bad gateway error from your origin, in this case Heroku. If you pause Cloudflare on your site then do you still see a bad gateway error?

1 Like