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
Here is unicorn.log's tail
What to do?