Created
April 21, 2013 19:07
-
-
Save mde/5430658 to your computer and use it in GitHub Desktop.
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
upstream zerb_blarg { | |
server 127.0.0.1:4000; | |
} | |
server { | |
listen 80; | |
server_name www.zerb-blarg.org zerb-blarg.org; | |
access_log /var/log/nginx/zerb_blarg.access.log; | |
location / { | |
proxy_pass http://zerb_blarg; | |
} | |
# Static files location | |
location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js)$ { | |
root /path/to/zerb-blarg/public; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment