mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-07-26 11:44:22 -04:00
* Add early reply draining for httpupgrade * Add early data config for httpupgrade * Add early data implementation for httpupgrade * Add send extra header for httpupgrade
49 lines
1.0 KiB
JSON
49 lines
1.0 KiB
JSON
{
|
|
"log": {
|
|
"error": {
|
|
"level": "Debug",
|
|
"type": "Console"
|
|
},
|
|
"access": {
|
|
"type": "None"
|
|
}
|
|
},
|
|
"outbounds": [
|
|
{
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 17793,
|
|
"uuid": "bcc71618-e552-42c2-a2a3-d4c17a9df764"
|
|
},
|
|
"streamSettings": {
|
|
"transport": "httpupgrade",
|
|
"transportSettings": {
|
|
"path": "b66efc0c7752",
|
|
"maxEarlyData": 2048,
|
|
"earlyDataHeaderName": "Sec-Websocket-Key"
|
|
},
|
|
"security": "tls",
|
|
"securitySettings": {
|
|
"pinnedPeerCertificateChainSha256": [
|
|
"kqHyvea27Pn+JiSqA72lhu9IKAKeGR+3yCyA8JR1mug="
|
|
],
|
|
"allowInsecureIfPinnedPeerCertificate": true
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"inbounds": [
|
|
{
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udpEnabled": false,
|
|
"address": "127.0.0.1",
|
|
"packetEncoding": "Packet"
|
|
},
|
|
"port": 17794,
|
|
"listen": "127.0.0.1"
|
|
}
|
|
]
|
|
}
|