[warn] the “ssl“ directive is deprecated, use the “listen ... ssl“ directive instead in /etc/nginx/c

阅读 60

2022-07-12


nginx配置包warn如下:

[warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/wangxu.conf:92

ssl on;

http1.1之后需要改成:

listen 443 ssl http2;


相关推荐

精彩评论(0)

0 0 举报