Nginx reverse proxy, load balancing, redis session sharing, keepalived high availability

Search for relevant knowledge by yourself, and go directly to the dry goods. . .

Resources used:

One nginx primary server and one nginx standby server, and use keepalived for downtime switching.

Two tomcat servers are used for reverse proxy and load balancing by nginx, where a server cluster can be built.

A redis server for separate sharing of sessions.

nginx master server: 192.168.50.133

Nginx standby server: 192.168.50.135

tomcat project server 1:192.168.50.137

tomcat project server 2:192.168.50.139

redis server: 192.168.50.140

Note that you need to configure firewall rules when accessing, or turn off the firewall

 

Reprint link: https://www.cnblogs.com/mrlinfeng/p/6146866.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326186234&siteId=291194637
Recommended