nginx solves session consistency
session viscosity
Each request is allocated according to the hash result of accessing ip, so that each visitor can access a back-end server regularly, which can solve the session problem.
upstream backserver {
ip_hash;
server 192.168.0.14:88;
server 192.168.0.15:80;
}
However, there is a single risk. If I have logged in at ...
Posted by ckjian on Sun, 05 May 2019 09:00:05 +0200