Nginx for two tomcat
Under normal circumstances, the request randomly assigned to two tomcat
Turn off a tomcat, the request can be processed by still another machine
Turn off the recovery machine, the two machines can handle
Turn off another machine, requests can still be handled another machine
Restored again, the two machines can handle
2 machines are turned off, and then restored to normal processing