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