大网数据广告活动
服务器运维问答

Trying to setup HTTP2 on Apache

· 52CE 我爱测

I've installed apache 2.4.18 from $ sudo add-apt-repository ppa:ondrej/apache2 $ sudo apt-get update $ sudo apt-get upgrade in ssl.conf I deactivated SSLv2 and SSLv2 and left all enabled: SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA25…

问题原文

原帖链接 · CGeorges · CC BY-SA 3.0

I've installed apache 2.4.18 from

$ sudo add-apt-repository ppa:ondrej/apache2 $ sudo apt-get update $ sudo apt-get upgrade

in ssl.conf I deactivated SSLv2 and SSLv2 and left all enabled:

SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384$ SSLProtocol all -SSLv2 -SSLv3

added in vhost file under https section:

Protocols h2 http/1.1

After restarting apache I get in error log that mod_http2 had been initialised without any other errors

[Fri Jan 29 20:31:58.829149 2016] [http2:info] [pid 20952] mod_http2 (v1.0.11, nghttp2 1.6.0), initializing...

Accessing the website (https) will use http/1.1 on both Chrome and Safari. On Safari there's also an Upgrade header with h2 value.

Any tips on how to make the site use http2, I'm burned out.

已采纳解答

原帖链接 · Barry Pollard · CC BY-SA 3.0

As discussed in comments: turn off Avast https monitoring.

https://stackoverflow.com/questions/32789858/http-2-support-in-chrome-45-0-2454-101-on-mac-os-10-9-5

I hate it when Antivirus software MITM https connections and cause more hassle than they save!

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-01-29)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。