【问题标题】:502 Bad gateway while using nginx server502 使用 nginx 服务器时网关错误
【发布时间】:2019-09-20 13:50:42
【问题描述】:

我关注https://github.com/bigchaindb/bigchaindb/blob/v2.0.0b9/docs/server/source/simple-deployment-template/set-up-nginx.md

我已将 SSL 证书添加到 bleocean.com 当我到达 https://bleocean.com 时,它正在重定向到我的 NGINX 服务器页面。

当我将 NGINX.config 文件更新为 https://github.com/bigchaindb/bigchaindb/blob/master/nginx/nginx.conf 的内容并按照指示进行 chenges 时

当我转到 https://bleocean.com 时,它现在显示 502 Bad Gateway

每次更新配置文件时,我都在本地机器和谷歌云上尝试过,它显示 502 bad gateway。请提出我是否犯了任何错误?

【问题讨论】:

    标签: nginx google-compute-engine bigchaindb


    【解决方案1】:

    您收到此错误是因为端口 9984 上没有运行任何应用程序。检查 MongoDB、BigchainDB 和 Tendermint 是否正在运行。请添加您的/var/log/nginx/error.log的日志。

    【讨论】:

      猜你喜欢
      • 2016-07-29
      • 2015-04-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-06-07
      • 1970-01-01
      • 2011-05-14
      • 2019-06-05
      相关资源
      最近更新 更多