keepalive_timeout default

Mr. Jinx

Verified User
Joined
May 5, 2006
Messages
61
Is there any reason why nginx-default.conf has a very low keepalive_timeout setting?
keepalive_timeout 2;

The reason I'm asking this is because some users reported weird connection lost errors. It seems iOS8 and higher is having problems with the low timeout setting. It was most visible when the user was posting a comment to a forum. The connection lost error would happen after submitting the post.

After setting keepalive_timeout to 75 seconds (Nginx default) the problem disappeared.
 
Back
Top