Created
June 26, 2009 15:14
-
-
Save queso/136555 to your computer and use it in GitHub Desktop.
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 www.web20show.com; | |
rewrite ^(.*) http://web20show.com$1 permanent; | |
} | |
server { | |
listen 80; | |
server_name web20show.com *.web20show.com; | |
root /data/web20show.com/current/public; | |
access_log /var/log/nginx/web20show.comaccess.log; # vhost specific access log | |
passenger_enabled on; | |
location ~* \.(ico|js|css|jpg|jpeg|gif|png)$ { | |
expires max; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment