RailsCasts Pro episodes are now free!

Learn more or hide this

Flo's Profile

GitHub User: FloHeinle

Comments by Flo

Avatar

You forgot to delete the default site from nginx.
There are two options:
1. Do it manually:
the commands you have to enter:
ssh_to_your_server:
ssh deployer(or_which_user_u_have_on_server)@server_ip

commands_on_server:
sudo rm /etc/nginx/sites-enabled/default
sudo service nginx restart

to autostart it when server restarts:
sudo update-rd.d unicorn_yourapp_name

Or compare your nginx.rb script to (at minute: 7:27):
nginx.rb from RyanB

if its correct run: cap deploy:install