Welcome! Log In Create A New Profile

Advanced

Re: proxy_set_header Connection "";

Grant
September 30, 2016 12:26PM
> 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.


That makes perfect sense. Is there a way to test if keepalive is
active between nginx and the upstream server?

- Grant


>> Does anyone know why this is required for upstream keepalive?
>>
>> - Grant

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_set_header Connection "";

Grant September 30, 2016 12:18PM

Re: proxy_set_header Connection "";

Robert Paprocki September 30, 2016 12:20PM

Re: proxy_set_header Connection "";

Grant September 30, 2016 12:26PM

Re: proxy_set_header Connection "";

Robert Paprocki September 30, 2016 12:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 169
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready