Recently, I found that the server logs had more 502 status codes than 200. I think it may be because I have blocked a large number of spiders and non-browser accesses.
Then today, during the testing phase of adding a new node, I found that the CDN service was in an abnormal state. After investigation, I discovered that the firewall had blocked the server IP and the non-browser interception of the Baota firewall.
Since my IP has always been in the firewall whitelist, I didn't notice it.
-
Add the server IP to the firewall whitelist.
-
Disable the non-browser interception of the Baota firewall.
-
Check the ping latency between the node server and the origin server.