Rate This Document
Findability
Accuracy
Completeness
Readability

Optimizing keepalive_requests

Purpose

The keepalive_requests parameter specifies the maximum number of requests that a persistent connection can process. Increasing the value of this parameter can avoid establishing connections repeatedly.

Procedure

Open the nginx.conf file and add the following configurations in various scenarios:

keepalive_requests 20000;