Firebird News

Thursday, April 02, 2009

nginx load balancer config example
in my case nginx is in front of two servers (2 copy cats with the same files /php and configurations)
now nginx handles all the images and compression and sends all php and other requests to the other servers
so it can have an very basic config (no advanced modules enabled)

vi /etc/nginx/sites-enabled/balancer

http://gist.github.com/89628

No comments: