最近升级 nginx 到 1.15.5 版本,reload nginx 发现有 warn:nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /usr/local/nginx/conf/vhost/ooxxox.com.conf:16
nginx 提示 ssl 指令已经不建议使用,要使用 listen ... ssl 替代。如果已经使用 listen 443 ssl,删除 ssl on 即可。
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.
Comments:0