<div dir="ltr">By default the Connection header is passed to the origin. If a client sends a request with Connection: close, Nginx would send this to the upstream, effectively disabling keepalive. By clearing this header, Nginx will not send it on to the upstream source, leaving it to send its own Connection header as appropriate.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 30, 2016 at 9:16 AM, Grant <span dir="ltr"><<a href="mailto:emailgrant@gmail.com" target="_blank">emailgrant@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does anyone know why this is required for upstream keepalive?<br>
<br>
- Grant<br>
<br>
______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br>
</blockquote></div><br></div>