解释导致502 Bad Gateway响应的2个nginx错误

时间:2016-06-16 22:12:22

标签: ssl nginx ubuntu-14.04 hosting ghost

我正在使用Digital Ocean托管Ghost博客。我的Droplet是 Ubuntu Ghost 0.8.0 14.04

昨天我成功安装了LetsEncrypt的TLS / SSL证书以启用HTTPS。该网站今天上午工作正常。

今天我上传了一个新的Ghost主题并重新启动了Ghost以便访问它。我现在在尝试访问该网站时收到回复502 Bad Gateway

网站的每个请求都会在我的nginx错误日志中添加以下错误的实例。

有人会告诉我这两条错误消息的含义吗?我真的很感激。

请注意,我已使用 example.com

替换了我的实际域名
2016/06/16 17:28:45 [error] 8125#0: *13 connect() failed (111: Connection refused) while connecting to upstream, client: 98.247.253.8, server: example.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:2368/favicon.ico", host: “example.com”, referrer: "https://example.com/“
2016/06/16 17:30:14 [error] 8125#0: *18 connect() failed (111: Connection refused) while connecting to upstream, client: 98.247.253.8, server: example.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:2368/", host: “example.com”

0 个答案:

没有答案