Nginx 配置 SSL:解决 Nginx 报错 nginx: [emerg] unknown directive "ssl" in /usr/local/nginx/conf/nginx.conf
1.更改conf配置server{listen443ssl;server_namelocalhost;ssl_certificate/usr/local/nginx/ssl/server.crt;ssl_certificate_key/usr/local/nginx/ssl/server.key;location/{root/home/dist;indexindex.htmlindex.htm;}