Created
April 29, 2011 21:51
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#.... | |
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