Phusion Passenger
A cheatsheet by @rstacruz|Refreshed 7 months ago.Refresh|View source on Github

Enabling Phusion passenger

Enabling Phusion passenger

server {
   listen 80;
   server_name www.yourhost.com;
   root /somewhere/public;   # <--- be sure to point to 'public'!
   passenger_enabled on;
   autoindex on; # Show directory listings
}

This is an example nginx configuration.