nginx1.19.3发布https失败

nginx1.19.3发布https失败,nginx,https,Nginx,Https,当我使用端口时,一切正常 例子:http://domain:443 这是失败 例子:https://domain 当我使用位置openssl时,它是可以的 证书来自阿里云 这是nginx1.19.3配置 worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream;

当我使用端口时,一切正常 例子:http://domain:443

这是失败 例子:https://domain

当我使用位置openssl时,它是可以的

证书来自阿里云

这是nginx1.19.3配置

worker_processes  1;

events {
    worker_connections  1024;
}
http {
    include       mime.types;
    default_type  application/octet-stream;
    sendfile        on;
    keepalive_timeout  65;
    gzip  on;
    server {
        listen       443 ssl;
        server_name  domain;
        ssl_certificate      cert/domain.pem;
        ssl_certificate_key  cert/domain.key;
        ssl_session_cache    shared:SSL:1m;
        ssl_session_timeout  5m;
        ssl_ciphers  HIGH:!aNULL:!MD5;
        ssl_prefer_server_ciphers  on;
        location / {
            root   html;
            index  index.html index.htm;
        }
    }
    server {  
        listen 80;  
        server_name domain;  
        rewrite ^(.*)$  https://$host$1 permanent;  
    }

}
当我使用chrome get请求时,返回error\u SSL\u PROTOCOL\u error 当我使用firefox get请求时,返回错误SSL\u error\u RX\u RECORD\u过长

首先发布https,但有点错误,我试图解决这个问题,就像谷歌的一些提示,但没用