在Windows上启用Nginx上的http2
发布时间:2020-12-14 01:39:02 所属栏目:Windows 来源:网络整理
导读:我在 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_
我在
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:DevelopApplicationnginx-1.10.3/conf/nginx.conf:64 行号64与上面指定的行相同. 如何在Windows上安装ngx_http_v2_module?
HTTP2模块目前仅适用于Linux nginx-full版本.
考虑使用基于Debian或RHEL的操作系统. 以下命令将帮助您在基于Debian的操作系统上安装nginx-full: apt-get install nginx-full (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
推荐文章
站长推荐
- window上安装git
- uint32_t和int作为日常编程的惯例
- Windows API一日一练 21 SetWindowLongPtr和GetW
- Windows10中的Delphi桌面截图,GetDeviceCaps问题
- Windows XP,必须使用ctrl alt delete以本地管理员
- windows – RegSvr32退出代码文档?
- windows-phone-8 – Windows phone 8模拟器无法接
- opengl-es – 我可以在Windows Phone 8应用程序中
- window.location.replace和window.location.href
- 安装 – 在Windows 7上安装Visual Studio 2015社
热点阅读