我试图尽可能多地跟踪这个线程,但我总是收到这样的消息:
This site can’t be reached
example.com unexpectedly closed the connection.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_CLOSED
ReloadHIDE DETAILS在铬里。
我正在进行的配置的一部分是:
server {
listen 80;
listen 443 default_server ssl;
#ssl on;
server_name example.com www.example.com;这是我的测试网站example.com在我的本地电脑127.0.0.1。
发布于 2017-04-05 15:40:05
您必须生成一个自签名证书,或者您可以查看“让我们加密”项目,以获得一个免费的、公开可信的证书。
HTTPS用于安全通信,在没有公钥和私钥证书的情况下,您无法进行加密。
https://serverfault.com/questions/842779
复制相似问题