sudo nano /etc/nginx/sites-available/default
server {
listen 80;
# Pointer le dossier public de votre app
root RAILS/public;
passenger_enabled on;
server_name localhost votredomaine.com;
}
sudo service nginx restart
sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/example.com