<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>Can some one provide me an example to set keep alive connection between Nginx(reverse proxy) and backend server?<br><br></div>I can not use upstream module as my backend IP is dynamic based on variable. So I can not use keepalive directive of upstream.<br>
<br></div>I have used below directive in location block.<br>proxy_pass http://$IP ;<br><br></div>Thanks,<br></div>Makaikol<br></div>