VPS侦探论坛

标题: lnmpa1.3升级到1.4后ssl用不了 [打印本页]

作者: passt    时间: 2017-4-6 19:16
标题: lnmpa1.3升级到1.4后ssl用不了
lnmpa1.3升级到1.4
试了添加两个域名
lmnp ssl add 域名最后出现

Let's encrypt crontab renew rule is exist.
Let's Encrypt SSL Certificate create successfully.
Test Nginx configure file......
nginx: [emerg] invalid parameter "http2" in /usr/local/nginx/conf/vhost/www.xxx.com.conf:40
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
Reload Nginx......
nginx: [emerg] invalid parameter "http2" in /usr/local/nginx/conf/vhost/www.xxx.com.conf:40



40行是这个
        listen 443 ssl http2;

重启也是不行
作者: licess    时间: 2017-4-7 14:19
只升级lnmp管理命令不行,还需要升级nginx到1.10.3或更高版本




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4