Deploying a Ruby on Rails application: an example Suppose you have a Ruby on Rails application in /somewhere. Add a server block to your Nginx configuration file, set its root to /somewhere/public, and set 'passenger_enabled on', like this: server { listen 80; server_name www.yourhost.com; root /somewhere/public; # <--- be sure to point to 'public'! passenger_enabled on; } And that's it! You may also want to check the Users Guide for security and optimization tips and other useful information: <%= @users_guide %> Enjoy Phusion Passenger, a product of Phusion (<%= @phusion_website %>) :-) <%= @passenger_website %> Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.