PDA

View Full Version : ip_hash for nginx in ISPmanager Cluster


The Wishmaster
12-19-2012, 03:48 AM
With the ip_hash parameter for Nginx all user requests from one IP address will be handled by one server.

Add the ip_hash parameter into the server group description of the Nginx configuration file
ip_hash
upstream ak1976e-vdsru {
ip_hash;
server 10.0.0.32:81;
server 10.0.0.51:81;
}