0
nginx配置ssl证书实现https (只有ssl.key和ssl.crt文件时)
生成ssl.pem文件openssl x509 -inform PEM -in ssl.crt > ssl.pem下列不在你配置文件中的字段添加上。server_name 为你自己的域...