You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"log": {
"loglevel": "debug"
},
"inbounds": [
{
"listen": "0.0.0.0", // "0.0.0.0" 代表同时监听所有的IPv4和IPv6"port": 4443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "3dc3b7b3-56c1-4d8a-9f15-a4831bf8f7a1",
"flow": "xtls-rprx-vision"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
// "xver": 1, // 发送 PROXY protocol; 专用于传递请求的真实来源 IP 和端口"dest": "pytorch.org:443", // A website that support TLS1.3 and h2. You can also use `1.1.1.1:443` as dest// 证书列表里允许的域名"serverNames": [
"pytorch.org"// A server name in the cert of dest site. If you use `1.1.1.1:443` as dest, then you can leave `serverNames` empty, it is a possible ways to bypass Iran's internet speed restrictions.
],
"privateKey": "kIuej6RPn2Hgcg_VN9gAhC_w5i-MjecCkizkRJtJzlE", // run `xray x25519` to generate. Public and private keys need to be corresponding."shortIds": [// Required, list of shortIds available to clients, can be used to distinguish different clients"d88a233765897aa6"// openssl rand -hex <1-8>
]
}
// "tcpSettings": {// // 仅用于 inbound,指示是否接收 PROXY protocol// "acceptProxyProtocol": true // }
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
]
// "routeOnly": true
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
}
]
}
(希望能请教一下nginx和xray server的配置要如何修改可以实现如下结果)
1. 期望结果
2. 尝试过程
2.1 实现思路
2.2 测试环境
利用docker部署测试环境
2.2.1 docker compose内容
2.2.2 xray server内容
2.2.3 nginx配置内容
2.2.4 xray client配置内容
2.3 测试结果
无法正常fq
2.3.1 服务端log (nginx + xray server)
2.3.2 客户端log (xray client)
The text was updated successfully, but these errors were encountered: