Created
September 11, 2012 12:18
-
-
Save argami/3698000 to your computer and use it in GitHub Desktop.
Way to patch error on ngnix and streams
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
upstream www.XXXXXXX.es { | |
server XXX.XXX.XXX.XXX:3000; | |
} | |
server { | |
listen 80; | |
server_name www.XXXX.es XXXXX.es; | |
location / { | |
proxy_pass http://www.XXXXXXX.es; #this is the upstream option | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment