By darcyvoutt
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:
104.131.241.16 | 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.
Additional Information
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
502 means that whatever is behind NGINX went down (in your case, rails). A root password reset may have restarted your server and you haven’t set your rails application up to start on boot.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.