nginx - recv() 502 bad gateway -Nginx +PHP7.4-fpm, Google Cloud ubuntu 实例
问题描述
我在 php7.4-fpm 上遇到了 502 bad gateway 同样的问题:
*3459 recv() failed (104: Connection reset by peer) while reading response
header from upstream, client: {ip address}, server: {xxx.zzz.com}, request: "GET /xxx/yyy HTTP/1.1", up
stream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "{xxx.zzz.com}"
我在谷歌云虚拟机实例 nginx env 上运行这个服务器。请让我知道如何解决此问题。谢谢
解决方案
推荐阅读
- excel - Excel - 按正则表达式或类似方法拆分字符串
- amazon-web-services - 在存储桶中显示 AWS S3 cli 上传后出现问题
- apache-spark - 使用 Spark / Scala 从数据框中的单个记录创建多个记录?
- google-app-engine - 用户/服务帐户、范围、AppEngine 和 GSuite(工作表 v4 api)
- html - 如何将背景图像设置为仅屏幕的左半部分
- python - 从 Django 视图中的特定论坛类别获取线程
- c - 无法使用 Visual Studio 的 Empty WDM 驱动程序模板中的 NDIS 相关功能
- jenkins - 如何处理詹金斯 http -> https 重定向?
- html - Chrome 手机上的输入按钮显示很奇怪
- metrics - 使用 Google Cloud Monitoring 跟踪常用指标