我在Windows7上使用的是nginx版本1.10.3。我想启用http2。我在配置文件中添加了以下内容:
server {
listen 443 http2 ssl proxy_protocol;
}当我启动nginx服务器时,我得到以下错误:
2017/02/15 14:34:33 [emerg] 8948#6892: the "http2" parameter requires
ngx_http_v2_module in C:\Develop\Application\nginx-1.10.3/conf/nginx.conf:64第64行与上面指定的行相同。
如何在Windows上安装ngx_http_v2_module?
发布于 2017-02-23 22:09:13
HTTP2模块目前仅适用于Linux nginx-full版本。
考虑使用基于Debian或RHEL的操作系统。
下面的命令将帮助你在基于Debian的操作系统上安装nginx-full:
apt-get install nginx-fullhttps://stackoverflow.com/questions/42241514
复制相似问题