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
@@ -206,7 +206,7 @@ Xray основан на проекте с открытым исходным к
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": "http/1.1",
@@ -215,7 +215,7 @@
"level": 0
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"serverName": "sub.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, удалите эту строку
@@ -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"
@@ -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
@@ -73,7 +73,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
@@ -81,7 +81,7 @@
"sockopt": {
"mark": 255
},
"network": "tcp",
"method": "tcp",
"security": "tls", // При использовании управления потоком xtls-rprx-vision здесь должно быть указано tls.
"tlsSettings": {
// При использовании управления потоком xtls-rprx-vision здесь должно быть указано tlsSettings.
@@ -232,7 +232,7 @@
]
},
"streamSettings": {
"network": "tcp",
"method": "tcp",
"security": "tls",
"tlsSettings": {
"certificates": [
+1 -1
View File
@@ -206,7 +206,7 @@ bash -c "$(curl -L wgcf-cli.vercel.app)"
"security": "auto"
},
"streamSettings": {
"network": "tcp"
"method": "tcp"
}
}
]