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.
On Fri, Sep 30, 2016 at 9:16 AM, Grant <emailgrant@gmail.com> wrote:
> Does anyone know why this is required for upstream keepalive?
>
> - Grant
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx