nginx: [warn] the “ssl“ directive is deprecated, use the “listen ... ssl“ directive instead in
前言
- CentOS Linux release 8.2.2004 (Core)
- phpstdy X1.26
- nginx1.15
错误内容
nginx: [warn] the “ssl” directive is deprecated, use the “listen … ssl” directive instead in /usr/local/phpstudy/vhost/nginx/1xxx.com_80.conf:6
分析
http://nginx.org/en/docs/mail/ngx_mail_ssl_module.html#ssl
This directive was made obsolete in version 1.15.0. The ssl parameter of the listen directive should be used instead.
解决办法
- 删除
ssl on;
指令 - 在
listen
指令中添加 ssl 参数
server{listen 80 ;listen 443 default ssl;server_name xxx.com ;ssl_certificate /usr/local/phpstudy/vhost/nginx/ssl/20210709_xxx.com.pem;ssl_certificate_key /usr/local/phpstudy/vhost/nginx/ssl/20210709_xxx.com.key;...
}
nginx: [warn] the “ssl“ directive is deprecated, use the “listen ... ssl“ directive instead in相关推荐
- nginx: [warn] the “user“ directive makes sense only if the master process runs with super-user
nginx: [warn] the "user" directive makes sense only if the master process runs with super- ...
- nginx: [warn] the user directive makes sense only if the master process runs with super-user privi
普通用户在restart和reload nginx时,会报错: nginx: [warn] the "user" directive makes sense only if the ...
- nginx: [warn] the user directive makes sense only if the master process runs with super-user
普通用户在restart和reload nginx时,会报错: nginx: [warn] the "user" directive makes sense only if the ...
- nginx: [warn] conflicting server name localhost on 0.0.0.0:80, ignored
修改nginx配置参数后,使用nginx -t检查配置. 提示successfull后就可以使用 nginx -s reload来重新加载配置 我配置的过程中遇到这样的问题,就是绑定了主机名后,重新加 ...
- nginx支持text html,BT面板重启Nginx提示“nginx: [warn] duplicate MIME type “text/html””解决办法...
很多时候我们在进行了一系列站点优化配置后,经常会出现一些未知的问题.比如虾皮路之前就遇到过了,在BT宝塔面板里面重启Nginx或者重载Nginx的时候,提示"nginx: [warn] du ...
- nginx: [warn] conflicting server name “www.yqq.org“ on 0.0.0.0:80, ignored
实现nginx重定向,出现下述警告: [root@lnmp1 conf]# nginx -s reload nginx: [warn] conflicting server name "ww ...
- #*nginx: [warn] conflicting server name “localhost“ on 0.0.0.0:80, ignored
#*nginx: [warn] conflicting server name "localhost" on 0.0.0.0:80, ignored 分析原因 修改nginx配置参 ...
- nginx: [warn] conflicting server name aaa.bbbb.com on 0.0.0.0:80, ignored
date: 2019-08-12 16:52:44 author: headsen chen notice :个人原创 故障现象: openresty -t nginx: [warn] confli ...
- nginx: [warn] conflicting server name “localhost“ on 0.0.0.0:80, ignored
修改nginx配置参数后,使用nginx -t检查配置. 提示successfull后就可以使用 nginx -s reload来重新加载配置 我配置的过程中遇到这样的问题,就是绑定了主机名后,重新加 ...
最新文章
- python把c语言的.h文件转为c++的.cpp和.h文件
- 永远不要在 MySQL 中使用 UTF-8
- Python 爬虫学习 系列教程
- c语言wpf99乘法表,使用JSP输出九九乘法表
- oracle试图执行计划,Oracle SQL优化与调优之显示执行计划(上)
- 为什么你设计的网页不够惊艳?
- 从三大标准衡量hypervisor
- 搞定机器学习面试,这些是基础!
- IP转发的最长前缀匹配
- linux密码带星号,Shell实现输入密码并显示星号
- Android(Linux) led子系统分析
- 【数字信号调制】基于ASK+OOK+BPSK+8PSK+QPSK+AM多种算法实现信号调制解调含Matlab源码
- BeautifulSoup爬取豆瓣电影top250信息
- element-ui轮播图片显示问题
- windows 7z命令行压缩
- 关于使用sdkmanager命令报错(环境:Mac+Android SDK)
- 万兆局域网方案_万兆内网初体验
- 双非一本考研国防科技大学计算机,不歧视“双非”,保护一志愿!40所“良心”大学值得推荐!...
- 小程序怎么清服务器缓存,怎么清理微信小程序缓存 微信小程序缓存删除的方法...
- 烘焙门店 | 解锁公众号精准引流5W+的流量密码