server { listen 80; server_name domain.com; location / { root /var/www/apps/entrydns/current/public; passenger_enabled on; } }