Skip to content

Instantly share code, notes, and snippets.

@ksarna
Created April 29, 2011 21:51
Show Gist options
  • Save ksarna/949102 to your computer and use it in GitHub Desktop.
Save ksarna/949102 to your computer and use it in GitHub Desktop.
Snippet from nginx config file for serving different rails apps on single server.
#....
server {
listen 80;
root /home/deploy/$host/current/public; # <--- be sure to point to 'public'!
passenger_enabled on;
}
#....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment