Disabling keepalive

libresco_27 nginx-forum at forum.nginx.org
Fri Oct 21 15:02:20 UTC 2022


Is there a way to totally disable keepalive form upstream? Right now, I have
the following configuration in upstream to keep the figures to a minimum-

keepalive: 1;
keepalive_requests: 1;
keepalive_timeout: 1s;
keepalive_time: 1s

Since, I can't change the keepalive directive's value to 0, is there a way I
can remove this setting totally?


Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295571,295571#msg-295571

More information about the nginx mailing list