请问Xray(VLESS+XHTTP)+Nginx\Caddy过CDN不通,直连能通 #231
Answered
by
lxhao61
godspirit00
asked this question in
Q&A
-
请问大佬,参考Xray(VLESS+XHTTP)+Nginx\Caddy搭了一个同时存在有VMESS+WS+Caddy和Xray(VLESS+XHTTP)+Caddy的,通过CF CDN的话VMESS+WS+Caddy能通,Xray(VLESS+XHTTP)+Caddy不能,直连的话能通,请问可能是什么原因? |
Beta Was this translation helpful? Give feedback.
Answered by
lxhao61
Dec 29, 2024
Replies: 2 comments 1 reply
-
你应该没有看官方 XHTTP 资料及本仓库客户端示例提示! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lxhao61
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你应该没有看官方 XHTTP 资料及本仓库客户端示例提示!
具体情况是你 CF CDN 没有开启 gRPC 支持、且客户端
mode
配置选择的是默认或 stream-up,这样经过 CDN 流量中转 XHTTP 应用肯定无法连通。你 CF CDN 可开启 gRPC 支持,这样客户端mode
配置可随便选择;或者客户端mode
配置仅选择 packet-up。