Error 502: Bad Gateway from the host (reverse proxy NGINX)

Which 502 error are you getting? Is it one thrown by Cloudflare (see below), or NGINX (also see below)?


Cloudflare:


Nginx:
image