Keep alive on server

I was trying to set keep alive on CentOS server. I have set it in httpd.conf but no luck.
What should i do now?

This should be a CentOS issue. Do you use a proxy to get the container accessible to the Internet, or is it just iptables rules?

[quote=“simos, post:2, topic:989, full:true”]
This should be a CentOS issue. Do you use a proxy to get the container accessible to the Internet, or is it just iptables rules?
[/quote] through iptables only. I have made the chages but still session is not kept live on server.

Here is the difference between TCP keepalive and HTTP keep-alive, https://stackoverflow.com/questions/9334401/http-keep-alive-and-tcp-keep-alive

The HTTP keep-alive works on the application layer, therefore, IPTables should not be able to mess with it, because it works on a lower level.

Show us your IPTables rules and tell us how you check whether HTTP keep-alive is really working.