I want to use nginx for load balance. And i want to use the sticky model instead of ip_hash. The configuration may be like below.
upstream loadbalance {
sticky;
server 192.168.120.195:8080;
server 192.168.120.194:8080;
}
But i encounter below error.
nginx: [emerg] unknown directive "sticky" in D:\ProgramFiles\nginx-1.5.7\webapp\conf\nginx.conf:39
Per my check, it is because of lack of nginx-sticky-module.
For my server is windows and i can't find nginx-sticky-module for window.
Can some guy provide the nginx-sticky-module for window and share the installation guide with me ?
Many thanks.