Can i use HTTP/2 between origin and cloudflare servers?(Apache)

时光总嘲笑我的痴心妄想 提交于 2019-12-13 16:31:28

问题


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-



来源:https://stackoverflow.com/questions/45487781/can-i-use-http-2-between-origin-and-cloudflare-serversapache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!