Can i use HTTP/2 between origin and cloudflare ser

2019-07-19 08:32发布

问题:

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.

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).

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

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

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

Any idea ?:slightly_smiling_face:

Thank you!

回答1:

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

https://support.cloudflare.com/hc/en-us/articles/214534978-Are-the-HTTP-2-or-SPDY-protocols-supported-between-Cloudflare-and-the-origin-server-