Created
November 8, 2011 18:29
-
-
Save xetorthio/1348641 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 8080; | |
server_name xxx.yyy.com; | |
location / { | |
error_page 500 502 503 @fallback; | |
proxy_pass http://upstream1; | |
} | |
location @fallback { | |
proxy_pass http://upstream2; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment