Ngix - 502 Bad Gateway after changing root password
I have a Bad Gateway issue on a Ruby on Rails environment and I know absolutely nothing about Ruby. I am going to be running an app for a week and a half and had this app setup by a contracted whom is not available.
Sorry if there is an answer somewhere already, everything I seen was for PHP environments and I need to solve this in 24 hours before we launch our campaign, so in a bit of panic situation.
The VPS it's running on:
220.127.116.11 | http://invite.teachtomarket.com Ruby on Rails on 14.04 (Nginx + Unicorn)
What happened before it last
I couldn't get into the server via FTP or SSH, so I reset the root password. I'm assuming this caused the issue because the site went down right after.
In case it matters, the domain is run through GoDaddy and with an A record pointing to the IP address.
I have, no idea what to do next.