Issue about nginx removing the header "Connection" in HTTP response?

tjlp at tjlp at
Wed Mar 1 07:29:32 UTC 2017

 Hi, nginx guy,

In our system, for some special requests, the upstream server will return a response which the header includes "Connection: Close". According to HTTP protocol, "Connection" is one-hop header. So,  nginx will remove this header and the client can't do the business logic correctly.

How to handle this scenario?

Liu Peng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list