: This article mainly introduces the nginx-code-499, for PHP tutorials interested in students can refer. Summarize the online example to find out if nginx returns 499:
Client has closed connection # The client closes the connection.
For example, your website is too slow to respond. the first time you fl a white page, the second time you fl a white page, you are decisively disconnected.
Nginx submitted the form too quickly twice. nginx considers the connection to be insecure and rejects the connection from the client.
You can add
Proxy_ignore_client_abort on;
Another reason is that the client closes the connection or the connection times out. This is mainly because the number of php processes is too small or the php process is occupied, resources cannot be quickly released, and requests are accumulated.
To solve this problem, we need to optimize the program.
The above introduces the nginx-code-499, including the content of the aspect, hope to be interested in PHP Tutorial friends help.