Hello,
I'm trying to configure the upstream keepalive in such a way that upstream closes connection after every request. I have set keepalive configuration for upstream like so
keepalive 1;
keepalive_requests 0;
keepalive_timeout 0;
But when the upstream returns a response, I see that it sends "Connection: keep-alive" in the response header. Ideally it should have closed the connection after a request(send "Connection: close"). Could someone help me with what could be the issue here and what can be done to achieve this?
Thank you!