报错详情
the "ssl" directive is deprecated, use the "listen ... ssl"
报错原因
nginx1.15.0更新日志
Changes with nginx 1.15.0 05 Jun 2018
*) Change: the "ssl" directive is deprecated; the "ssl" parameter of the
"listen" directive should be used instead.
ssl不建议作为一个指令使用,而只是listen指令的一个参数。
解决方法
删除ssl on,改成listen 443 ssl;
server {
listen 443 ssl;
}
标题:Nginx启动报错 the "ssl" directive is deprecated
分类:碎片收纳
链接:https://www.aqwdzy.com/content/127
版权:通天技术网(www.aqwdzy.com)所分享发布内容,部分为网络转载,如有侵权请立即联系方式,我们第一时间删除并致歉!
热烈庆祝通天技术网开业大吉
@通天技术网 热烈庆祝通天技术网开业大吉
热烈庆祝通天技术网开业大吉
@通天技术网 热烈庆祝通天技术网开业大吉