lnmp 重启报错[warn] the “listen … http2” directive is deprecated, use the “http2” directive instead in
1 | [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in |
、
报错,由于自己也没修改到这行报错,所以百度了一下,收藏到这里。
解决办法就是将
1 | listen 443 ssl http2; |
修改配置为:
1 2 | listen 443 ssl; http2 on; |