Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hey Guys,
Went through the steps in [this] (http://https://www.digitalocean.com/community/tutorials/how-to-1-click-install-ruby-on-rails-on-ubuntu-12-10-with-digitalocean) as well as this tutorial but keep getting a 504 Nginx error.
Here is the output from tail /var/log/nginx/error.log
2014/12/07 16:55:03 [error] 682#0: *50 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 99.235.112.224, server: _, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "104.131.76.121"
2014/12/07 16:56:57 [error] 682#0: *50 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 99.235.112.224, server: _, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "104.131.76.121"
2014/12/07 16:59:51 [error] 682#0: *53 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 99.235.112.224, server: _, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "104.131.76.121"
And here is the error log from tail /home/unicorn/log/unicorn.log
/usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:294:in `join'
/usr/local/rvm/gems/ruby-2.1.3/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.3/bin/unicorn:23:in `load'
/usr/local/rvm/gems/ruby-2.1.3/bin/unicorn:23:in `<main>'
/usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'
E, [2014-12-07T17:01:16.737896 #29412] ERROR -- : reaped #<Process::Status: pid 30156 exit 1> worker=0
I, [2014-12-07T17:01:16.738189 #29412] INFO -- : worker=0 spawning...
I, [2014-12-07T17:01:16.746972 #30169] INFO -- : worker=0 spawned pid=30169
I, [2014-12-07T17:01:16.778199 #30169] INFO -- : Refreshing Gem list
Looking for some direction on how to solve this. Is my unicorn gem incorrect?