Hey, everyone. I’ve searched everywhere and I’m still ripping my hair out over this issue. I’ve configured the following to point to my rails project (changed ‘/home/rails’ to ‘/home/project_name’)
/etc/default/unicorn /home/unicorn/unicorn.conf /etc/nginx/sites-enabled/default
I followed this up with a restart of the unicorn service, which was successful.
I’m missing something, but after a delete of ‘/home/rails’, I get a 504 error (Gateway Timeout) when I reload http://SERVER.IP.ADDRESS (which previously showed me the default Rails/public/index.html)
Note: I followed this tutorial and changed nothing but the paths to my rails project. https://www.digitalocean.com/community/articles/how-to-1-click-install-ruby-on-rails-on-ubuntu-12-10-with-digitalocean
After “tail -f /home/unicorn/log/unicorn.log” It simply loops with my worker information, and two errors.
What am I doing? Any help would be greatly appreciated.
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!
Using ‘service nginx restart’? <br> <br>Unfortunately, no. Still getting the 504.
Weird. I never used unicorn. Try asking in <a href=“http://webchat.freenode.net/?channels=digitalocean&uio=d4”>our IRC channel</a> – a lot of developers hang out there.
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.