nginx 502 Bad Gateway
巴扎黑
巴扎黑 2017-05-16 17:21:53
0
4
719

nginx 502 Bad Gateway

The server keeps reporting this error recently. Can you please provide a solution?

巴扎黑
巴扎黑

reply all(4)
阿神

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template