Created
December 30, 2009 14:37
-
-
Save why404/266085 to your computer and use it in GitHub Desktop.
Nginx vhost configuration with a Rails app
This file contains 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; | |
server_name example.com www.example.com; | |
root /home/demo/web/example.com/public; | |
passenger_enabled on; | |
index index.html; | |
charset utf-8; | |
access_log /dev/null; | |
error_log /home/demo/web/example.com/log/error.log; | |
error_page 404 /404.html; | |
error_page 500 502 503 504 /50x.html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment