<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
</span>It is the number of keepalive connections to be cached for the<br>
whole upstream{} block, that is, all servers.<br></blockquote><div><br></div><div>Can we clarify the behavior for upstreams with duplicate server directives? Consider the following<br><br>upstream foo {</div><div> server <a href="http://1.2.3.4:80">1.2.3.4:80</a>;</div><div> server <a href="http://5.6.7.8:80">5.6.7.8:80</a>;</div><div><br></div><div> keepalive 32;</div><div>}</div><div><br>upstream bar {</div><div> server <a href="http://1.2.3.4:80">1.2.3.4:80</a>;</div><div> server <a href="http://5.6.7.8:80">5.6.7.8:80</a>;</div><div><br></div><div> keepalive 32;</div><div>}</div><div><br></div><div>A max of 64 TCP connections will be kept open?</div></div></div></div>