[PATCH 0 of 1] Upstream: add propagate_connection_close directive

Shawn J. Goff shawgoff at amazon.com
Sat Jan 3 00:03:58 UTC 2015

This patch adds a new directive to the upstream module:
propagate_connection_close. It puts a "Connection: close" header in
the downstream response if the upstream server sent one. This is
useful when Nginx is used as HTTP/HTTPS endpoints with load blancers
in front of them. It allows the upstream server to close connections
in order to shed load.

I can submit a documentation patch if this patch is accepted.

In addition to being useful for us, I've found several examples of
people asking for this type of behavior in public forums.

More information about the nginx-devel mailing list