服務器做重定向rewrite (.*) http://ip:xxxx/指向負載服務器,以前沒有重定向是用ip_hash解決session的問題,upstream aa {ip_hash;server ip1:xxxx;server ip2:xxxx;}目前試了hash $http_x_forwarded_for;和hash $cookie_jsessionid;都沒有達到負載的效果,請問需要如何配置?
nginx重定向負載session的問題
PIPIONE
2018-09-24 20:24:06