mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-10-05 13:28:16 +03:00
Transport: Rename network to method
https://github.com/XTLS/Xray-core/pull/6426#issuecomment-4899048255
This commit is contained in:
@@ -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"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -200,7 +200,7 @@ bash -c "$(curl -L wgcf-cli.vercel.app)"
|
||||
"security": "auto"
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "tcp"
|
||||
"method": "tcp"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user