RoR project deployment using Nginx and Thin


I have been trying to deploy a Rails project using Nginx and thin but always displays the Default page only.

I did following configurations,

Step 1: Made a symlink of my project in /var/www
Step 2: Installed thin and Nginx.
Step 3: Added Upstream block in the nginx.conf file
Step 4: Changed the Stream block in nginx.conf file.
Step 5: Reloaded and restarted the Nginx server.