我已将我的网站部署到 Digital Ocean Droplet(Ubuntu 20.04 服务器)。
一切都工作正常。今天,我在本地机器上对网站做了一些更改。因此,我将更改推送到 GitHub,然后再次将 GitHub 存储库克隆到服务器。然后,我安装了依赖项并重新启动了PM2。
Now, when I visit my site https://sundaray.io
, I get the following error.
The following is the error log.
我该如何修复该错误?
简单的意思就是
No HTTP server response, your Node Http server is not answering requests.
502 网关意味着服务器和 Nginx 正在获取您的请求,但上游存在问题。
你可以使用命令来显示 pm2 的日志
pm2 show
应用程序可能崩溃或内部服务器 500 错误。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)