mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-08-22 23:05: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
47 lines
929 B
JSON
47 lines
929 B
JSON
{
|
|
"log": {
|
|
"error": {
|
|
"level": "Debug",
|
|
"type": "Console"
|
|
},
|
|
"access": {
|
|
"type": "None"
|
|
}
|
|
},
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom"
|
|
}
|
|
],
|
|
"inbounds": [
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": 17793,
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"users": [
|
|
"bcc71618-e552-42c2-a2a3-d4c17a9df764"
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"transport": "httpupgrade",
|
|
"transportSettings": {
|
|
"path": "b66efc0c7752",
|
|
"maxEarlyData": 2048,
|
|
"earlyDataHeaderName": "Sec-Websocket-Key"
|
|
},
|
|
"security": "tls",
|
|
"securitySettings": {
|
|
"certificate": [
|
|
{
|
|
"usage": "ENCIPHERMENT",
|
|
"certificateFile": "cert/self-signed_cert.pem",
|
|
"keyFile": "cert/self-signed_key.pem"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|