Nginx [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead

xiaoxiao2025-06-06  44

Nginx [warn] the “ssl” directive is deprecated, use the “listen … ssl” directive instead


1、Nginx 版本

1.15.x 新版本

2、原因

Nginx 1.15.x 版本在开启ssl的时候不再需要显式的配置 SSL ON 了 如果配置了,会出现这个警告

1.15.x之前的版本不受影响

3、解决方法

直接删掉 SSL ON 这个配置就好了

简简单单OnlineZuozuo 认证博客专家 Spring 架构 分布式 未闻万里蓬莱,而窥先圣遗智。故,以此生筑梦,奔而逐之;以泰山之伟,攀而登之;以静雅素心,处世为人。------zuozuo著
转载请注明原文地址: https://www.6miu.com/read-5031395.html

最新回复(0)