Hi,
I am new to Nginx develoment. I am trying to find a load balancer for my backend servers. As I know that Nginx can be configured to act in a reverse proxy mode and can do content switching. I have a question related to this.
I wanted to send all the requests for same content to the same backend server. How I can do this.
For example. Client 1 has requested for Content A, and my load balancer directs that request to one of the backend server say X on round robin basis. Now if I receive a request from different client 2 for the same content A, this request should be directed to the same backend server X. Are there any open source solution which can do this.
Note, I am not asking of any pre configured URL, basically Nginx needs to read out the respobnse first time and finds out the Content URL served from the backend server, so that subsequent request for the same content can be directed to the backend server who previously served the content.
Any help/pointers would be appreciated.
Thanks, Nikhil