0
点赞
收藏
分享

微信扫一扫

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

Spinach菠菜 2022-07-12 阅读 57


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 条评论