如何解决 HTTP 502 错误?

I have not tried to build another server, but when I switch the server’s ram to 4GB, things get worse.