Okay, so something about the socket is fishy. Does the file /var/discourse/shared/standalone/nginx.http.sock exist (while Discourse is running)?
/var/discourse/shared/standalone/nginx.http.sock
Did you rebuild Discourse after modifying app.yml?
app.yml