Please refer to these three gists: compile nginx on centos using passenger-install-nginx-module nginx's init script - ripped from EPEL nginx.conf with gzip compression enhanced Please, note we've installed upstream-fair module. This module sends an incoming request to the least-busy backend server, rather than distributing requests round-robin.




