Transport: Rename network to method

https://github.com/XTLS/Xray-core/pull/6426#issuecomment-4899048255
This commit is contained in:
Meow
2026-07-11 21:15:51 +08:00
parent ef9691e3e8
commit 3bd509bad9
48 changed files with 99 additions and 99 deletions
+1 -1
View File
@@ -213,7 +213,7 @@
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": "http/1.1",
+1 -1
View File
@@ -216,7 +216,7 @@
"level": 0
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"serverName": "a-name.yourdomain.com", // 替换成你的真实域名
+5 -5
View File
@@ -172,7 +172,7 @@
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": ["http/1.1"],
@@ -249,7 +249,7 @@
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "none",
"tcpSettings": {
"acceptProxyProtocol": true
@@ -280,7 +280,7 @@
"decryption": "none"
},
"streamSettings": {
"network": "ws",
"method": "ws",
"security": "none",
"wsSettings": {
"acceptProxyProtocol": true, // 提醒:若你用 Nginx/Caddy 等反代 WS,需要删掉这行
@@ -307,7 +307,7 @@
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "none",
"tcpSettings": {
"acceptProxyProtocol": true,
@@ -345,7 +345,7 @@
]
},
"streamSettings": {
"network": "ws",
"method": "ws",
"security": "none",
"wsSettings": {
"acceptProxyProtocol": true, // 提醒:若你用 Nginx/Caddy 等反代 WS,需要删掉这行
+2 -2
View File
@@ -117,7 +117,7 @@ acme.sh --install-cert -d example.com --fullchain-file /etc/ssl/xray/cert.pem --
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": ["h2", "http/1.1"],
@@ -142,7 +142,7 @@ acme.sh --install-cert -d example.com --fullchain-file /etc/ssl/xray/cert.pem --
]
},
"streamSettings": {
"network": "ws",
"method": "ws",
"wsSettings": {
"acceptProxyProtocol": true,
"path": "/vmessws"
+1 -1
View File
@@ -90,7 +90,7 @@
"level": 0
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"serverName": "a-name.yourdomain.com",
@@ -120,7 +120,7 @@ WantedBy=multi-user.target
"decryption": "none"
},
"streamSettings": {
"network": "tcp"
"method": "tcp"
},
"sniffing": {
"enabled": true,
@@ -200,7 +200,7 @@ WantedBy=multi-user.target
"sockopt": {
"mark": 255
},
"network": "tcp"
"method": "tcp"
}
},
{
+1 -1
View File
@@ -72,7 +72,7 @@ sudo curl -oL /usr/local/share/xray/geosite.dat https://github.com/Loyalsoldier/
"encryption": "none"
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "xtls",
"sockopt": {
"mark": 2
@@ -78,7 +78,7 @@
"sockopt": {
"mark": 255
},
"network": "tcp",
"method": "tcp",
"security": "tls", //注意使用 xtls-rprx-vision 流控此处需为 tls
"tlsSettings": {
//注意使用 xtls-rprx-vision 流控此处需为 tlsSettings
@@ -226,7 +226,7 @@
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"certificates": [
+1 -1
View File
@@ -200,7 +200,7 @@ bash -c "$(curl -L wgcf-cli.vercel.app)"
"security": "auto"
},
"streamSettings": {
"network": "tcp"
"method": "tcp"
}
}
]