v2ray-examples/V5-VMess-HTTP2/config_server.json

46 lines
1.0 KiB
JSON

{
"access": {
"type": "Console",
"level": "Warning"
},
"error": {
"type": "Console",
"level": "Warning"
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 1234,
"protocol": "vmess",
"settings": {
"users": [
"UUID1",
"UUID2"
]
},
"streamSettings": {
"transport": "http",
"security": "tls",
"securitySettings": {
"certificate": [
{
"certificateFile": "/path/to/certificate.crt",
"keyFile": "/path/to/key.key"
}
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
]
}