【发布时间】:2017-07-03 15:35:29
【问题描述】:
我在 Windows 7 上使用 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?
【问题讨论】:
-
官方没有在windows上内置http2模块。如果你必须使用http2,你应该使用Linux。