Created
March 24, 2015 15:12
nginx.conf
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; | |
server_name _; | |
location /foo/ { | |
proxy_pass http://127.0.0.1:3000/; | |
} | |
location /bar/ { | |
proxy_pass http://127.0.0.1:3001/; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment