当前位置: 动力学知识库 > 问答 > 编程问答 >

ssl - Explain 2 nginx errors that result in a 502 Bad Gateway response

问题描述:

I'm hosting a Ghost blog using Digital Ocean. My droplet is Ubuntu Ghost 0.8.0 on 14.04.

Yesterday I successfully installed a TLS/SSL certificate from LetsEncrypt in order to enable HTTPS. The site was working fine then and this morning.

Today I uploaded a new Ghost theme and restarted Ghost in order to access it. I now get the response 502 Bad Gateway when I try to access the site.

Each request for the site adds an instance of the following errors to mynginx error log.

Would someone walk me through what these 2 error messages mean? I'd really appreciate it.

Please note that I've substituted my actual domain name with 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”

分享给朋友:
您可能感兴趣的文章:
随机阅读: