Nginx error 502

502 means your Discourse instance is not starting / started / running.