Created
June 21, 2014 01:56
-
-
Save abruzzi/2c2ae6f76b4a566646a9 to your computer and use it in GitHub Desktop.
nginx configure
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 products_grape_server { | |
server localhost:9292; | |
} | |
server { | |
listen 8080; | |
server_name _; | |
location / { | |
proxy_pass http://products_grape_server; | |
index index.html; | |
} | |
location ~ ^/(scripts/|style/) { | |
root "/Users/jtqiu/develop/lwwd/products/"; | |
} | |
location = /index.html { | |
root "/Users/twer/develop/design/todos"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment