Update on point2 - %2 is now removed and below is a sample log <LB_IP> - - [22/Jun/2022:11:23:15 +0530] "GET /login HTTP/1.1" 302 154 "https://<url>/""Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36" "<http_x_forwarded_for_IP>"--"<http_x_forwarded_for_IP>, <LB_by madhu.yadav - How to...
Hello Team, We are using nginx ip_hash for load balancing to 2 java/tomcat backends as below lb -> nginx1,nginx2 -> tomcat1,tomcat2 Right now all requests are going to only one of the tomcats based on its availability and load is not equally distributed. 1. lb is sending the client ip address in X-Forwarded-For header, will this work for ip_hash based load balancing? 2. additionally tby madhu.yadav - How to...