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
| proxy_http_version 1.1; | |
| proxy_set_header Connection ""; | |
| https://gist.github.com/miguelmota/6912559 | |
| # The upstream module is the link between Node.js and Nginx. | |
| # Upstream is used for proxying requests to other servers. | |
| # All requests for / get distributed between any of the servers listed. | |
| upstream helloworld { | |
| # Set up multiple Node.js webservers for load balancing. | |
| # max_fails refers to number of failed attempts | |
| # before server is considered inactive. |