wyx2685 / XrayR

A Xray backend framework that can easily support many panels. 一个基于Xray的后端框架,支持V2ay,Trojan,Shadowsocks协议,极易扩展,支持多面板对接
https://xrayr-project.github.io/XrayR-doc/
Mozilla Public License 2.0
322 stars 126 forks source link

transmission protocol configuration #21

Closed Mjeir closed 8 months ago

Mjeir commented 8 months ago

Greetings and courtesy Please help me about transmission protocol configuration. I use the following code to use VMess +WS and everything is fine.

{ "path": "/", "headers": { "Host": "mysite.com" } }

But when I use TCP or use Vless with any transmission protocol In the V2rayNG program, the request host part remains empty. Please write me the correct transmission protocol configuration that can be used in TCP and Vless. Do you allow me to contact you via Telegram or WeChat so that I can provide you with my server information and make a Vless node for me at a cost or as a gift? thank you

wyx2685 commented 8 months ago
{
  "header": {
    "type": "http",
    "request": {
      "path": [
        "/"
      ],
      "headers": {
        "Host": [
          "www.baidu.com",
          "www.bing.com"
        ]
      }
    }
  }
}

vmess/vless TCP + HTTP

Mjeir commented 7 months ago

Hello, dear professional Is it possible to remove the http header? When I delete it, the request host part remains empty! i nead only vmess/vless TCP

thanks