Posts

Showing posts with the label proxy

How To Use HAProxy to Set Up HTTP Load Balancer

Image
HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is really suited for very high traffic web sites and powers quite a number of the world's most visited ones. Over distributed and distributed by default in cloud platforms. In this case, we use 6 server to setup this environment. 1 server for main web, 4 server for nginx balancer and 1 server for HAProxy. main web server :       192.168.1.10 nginx node-1 :      192.168.1.11 nginx node-2 :      192.168.1.12 nginx node-3 :      192.168.1.13 nginx node-4 :      192.168.1.14 HAProxy :      192.168.1.15 In main web server, put your code of web app that you build. In nginx node 1 - 4 configure proxy pass to protect main web server.  Installing HAProxy use command apt-get to install ...