502 Bad Gateway error

So discourse-setup warned you that you didn’t have enough ram and you were clever enough I bypass that warning. And the docs say that you need swap of you have less than two gb. Even with 2gb, without swap, you’ll likely have trouble when you rebuild to do an upgrade.