mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-01-18 22:09:29 +08:00
14662e8461
* VLESS-gRPC-TLS: convert indentation to spaces format by vscode * fix: add decryption none to vless settings
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "0.0.0.0",
|
|
"port": 443,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "",
|
|
"email": "love@v2fly.org"
|
|
}
|
|
],
|
|
"decryption": "none"
|
|
},
|
|
"streamSettings": {
|
|
"network": "gun",
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"serverName": "your_domain",
|
|
"alpn": [
|
|
"h2"
|
|
],
|
|
"certificates": [
|
|
{
|
|
"certificateFile": "/path/to/fullchain.crt",
|
|
"keyFile": "/path/to/private.key"
|
|
}
|
|
]
|
|
},
|
|
"grpcSettings": {
|
|
"serviceName": "GunService"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom",
|
|
"tag": "direct"
|
|
}
|
|
]
|
|
} |