Reset_timedout_connection on tells Nginx to close the unresponsive client connection. This will release the memory space occupied by that client.
Tcp_nopush on tells Nginx to send all header files in one packet without sending them one after the other
Client_header_timeout 20 and Client_body_timeout 20 set the time-out for the request header and the request body (respectively). We can also set this down to a few seconds.
Send_timeout 20 Specifies the response time-out for the client. This setting is not used for the entire forwarder, but is a unit of seconds between two client read operations
Server_tokens off the Nginx version number in the error page
Open_file_cache max=56000 inactive=30s When the cache is opened, it also specifies the maximum number of caches, as well as the time of the cache. We can set a relatively high maximum time so that we can erase them after they are inactive for more than 20 seconds.
Multi_accept on tells Nginx to accept as many connections as possible after receiving a new connection notification
Open_file_cache_valid specifying the interval of time to detect the validity of cache information in Open_file_cache
Open_file_cache_min_uses 2 If the cached entries are used more than 2 times in the time specified above, the cache entry is not deleted.
Open_file_cache_errors on specifies whether to cache error messages when searching for a file, including adding files to the configuration again.
Some parameter records of Nginx configuration file in work