This is a step-by-step nginx configuration to support load balance between multiples server
- Nginx and node server running stand alone
git checkout 4c54c2e364d5acdbf67554172b32feed3f2af1ad
- Make node server private not exposing port
git checkout 4167087f087b0c6ea3d40943b0bc0d9be18a06c7
- Proxy pass nginx http request to node server
git checkout db7e19a7a0d7fcebeacf0dda85476badc478162b
- Configure load balance between two node servers
git checkout 3ec30a232e2335ecadba481fa553fef6b973fa5d
Set-up reverse proxy with caching
git checkout cc7ff25df3ab3c0ab0064599c5f03751089cf6be