Download this document and learn how you can set up an Nginx Load Balancer for FirstClass Web Services on a a Linux CentOS distribution using Nginx. Nginx will be running on Linux, but the instances of fcws can either be running on the same machine, or on another Mac OR Linux box.
For the purposes of this document, I demonstrate both Nginx and 3 instances of FCWS running under CherryPy all on the same Linux box.
Download -> SupportingFiles
- CentOSNginxLoadBalancer.pdf – the complete, step-by-step documentation
- build-nginx-CentOS.sh – the modified shell script provided by Kevin Worthington kevinworthington.com/nginx-for-mac-os-x-mavericks-in-2-minutes
The script compiles a basic version of Nginx 1.5.7 on CentOS
- NginxService.txt – the nginx service script
- nginx.conf – a modified nginx.conf file that establishes load balancing to three instances of FCWS
If you like this document and would like more information on how to fully implement FirstClass Web Services, please consider taking my course at createchsolutions.usefedora.com/courses