Intro: Most of the Rails application deployed are with nginx and unicorn configuration, So sharing nginx and unicorn configuration we will need to make the rails application serve at HTTP port 80. Here im not going to create rails app or configure any VPS server,We can get all the details like capistrano, setting up the server details from this post. So we are going to have just nginx configuration and unicorn configuration here. From previous...
Intro: I have been using nginx and unicorn combination in the vps server for my rails production application, and recently when working in a new project i found out that passenger was running on it and i wanted to give it a try. So lets start from first. Create a new rails application rails new deploy_with_passenger rails g controller home index change routes root home#index Setup rails app for deployment Add passenger gem to your...