我可以在原始服务器和cloudflare服务器之间使用HTTP / 2吗(Apache)

问题描述:

我尝试这样做,但是当我绕过我的域A记录时,该协议正在起作用。
在浏览器和Apache日志中都正确。

I try to do, but when i turn to bypass my domain A record, the protocol is h2 is working. All correct in browser and apache logs.

当我打开域上的cloudflare时,浏览器运行正常(我知道CF正在运行

When i turn on the cloudflare on the domain, the browser is working fine(I know the CF is working on HTTP2 protocol to clients).

但是我在apache日志中看到,
GET / HTTP / 1.1 302 5067
GET / en / HTTP / 1.1 200 5068
POST / zh-CN / ajax / user HTTP / 1.1 200 77

But i see in apache logs, "GET / HTTP/1.1" 302 5067 "GET /en/ HTTP/1.1" 200 5068 "POST /en/ajax/user HTTP/1.1" 200 77

使用http / 1.1,但是我不知道为什么:)

Its using http/1.1, but i dont know why :)

我尝试使用强制设置http2协议,但没有区别。

I try to set force http2 protocol using, but no difference.

有什么主意吗? :

谢谢!

Cloudflare计划使用HTTP 1.1

Cloudflare plans to use HTTP 1.1 to the origin for the foreseeable future.

https://support.cloudflare.com/hc/zh-cn/ articles / 214534978-Cloudflare之间是否支持HTTP-2-或SPDY协议-and-the-origin-server-