proxy_set_header Connection "";

Robert Paprocki rpaprocki at fearnothingproductions.net
Fri Sep 30 16:19:01 UTC 2016


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 at gmail.com> wrote:

> Does anyone know why this is required for upstream keepalive?
>
> - Grant
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160930/1969cf45/attachment.html>


More information about the nginx mailing list