The principle of using nginx to complete this task is roughly the same, but nginx can only perform load balancing on http and mail, which is quite limited, but it supports regular expressions well! Next let's take a look at the experiment: [experiment environment] nginxkeepalived master: 192.168.56.120nginxkeepalived from: 192.168.56.121VIP: 192.168.56.130Web1: 192.168.56.113Web2: 192.
The principle of using nginx to complete this task is roughly the same, but nginx can only perform load balancing on http and mail, which is quite limited, but it supports regular expressions well! The following describes the experiment:
[Lab environment]
Nginx keepalived master: 192.168.56.120nginx keepalived slave: 192.168.56.121VIP: 192.168.56.130Web1: 192.168.56.113
Web2: 192.168.56.114
[Experiment topology]
This article is from the "pmghong" blog, please be sure to keep this source http://pmghong.blog.51cto.com/3221425/1264947