add capistrano-rails in Gemfile and Capfile and correct nginx.conf to include only location directive