1,nginx重启报错[warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead如图:vim nginx.conf:set nu2,查看配置文件3,119行错误,所以我把写法改成listen 443 ssl;如图:/usr/local/nginx/sbin/nginx -s reload重启正常
vim nginx.conf
:set nu
listen 443 ssl;
/usr/local/nginx/sbin/nginx -s reload