Question
504 Gateway Time-out for Rails Application with Ubuntu, NGINX and Unicorn
I’m trying to deploy my first RoR app. I installed PostgreSQL, created database, cloned source code, bundled it and applied migrations. But I’ve got “We’re sorry, but something went wrong”. So I’ve decided to reboot it using DO instruction for safety rebooting. And now I’m getting 504 Gateway Time-out
Here is nginx error.log’s tail
https://gist.github.com/femalemoustache/13089aad6c21f1e5934e
Here is unicorn.log’s tail
https://gist.github.com/femalemoustache/3d6485b2586624154a42
What to do?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
I am also having this problem for a really small rails application. I get my webpage icon, but nothing else.