84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
nginx 502 Bad Gateway
The server keeps reporting this error recently. Can you please provide a solution?
Look at the php slow log. See what caused it, whether it was a mysql query or php.
There are many opinions on the Internet, but they are basically response timeouts. Can optimize the server's configuration file, buffering, number of PHP processes, maximum execution time, etc.
Specific errors should be analyzed in detail. There are many reasons for 502
It is recommended that LZ open the log and read the log first
I checked the bandwidth and the CPU is normal. Our statistics are that for 100 visits, 502 bad getway will appear 8 times
Look at the php slow log. See what caused it, whether it was a mysql query or php.
There are many opinions on the Internet, but they are basically response timeouts. Can optimize the server's configuration file, buffering, number of PHP processes, maximum execution time, etc.
Specific errors should be analyzed in detail. There are many reasons for 502
It is recommended that LZ open the log and read the log first
I checked the bandwidth and the CPU is normal. Our statistics are that for 100 visits, 502 bad getway will appear 8 times