[nginx] [emerg] the ‘http2‘ parameter requires ngx_http_v2_module
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
enviroment
系统:Linux
升级http2.0
修改Nginx配置: listen 443 ssl http2 default_server;
nginx -t // 报错
nginx -s reload // error.log中报错
error
[emerg] the ‘http2’ parameter requires ngx_http_v2_module in xxx.conf
the ‘http2’ parameter requires ngx_http_v2_module in xxx.conf:6
原因是升级http2.0需要http2模块
solution
重新编译和安装
- 下载最新Nginx源码
- ./configure --prefix=… --with-http_v2_module // 指明需要http2模块
- make
- make install
重启nginx
- nginx -s stop;
- nginx




A beautiful web dashboard for Linux
最近提交(Master分支:5 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)