mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-01-18 13:59:29 +08:00
refine vless over grpc
This commit is contained in:
parent
c0d34dba35
commit
dc87e4b12e
@ -8,15 +8,8 @@
|
||||
"port": "1080",
|
||||
"protocol": "socks",
|
||||
"settings": {
|
||||
"auth": "noauth",
|
||||
"udp": true,
|
||||
"ip": "127.0.0.1"
|
||||
"auth": "noauth"
|
||||
}
|
||||
},
|
||||
{
|
||||
"listen": "127.0.0.1",
|
||||
"port": "1081",
|
||||
"protocol": "http"
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
@ -25,13 +18,12 @@
|
||||
"settings": {
|
||||
"vnext": [
|
||||
{
|
||||
"address": "1.2.3.4",
|
||||
"address": "your_server_ip",
|
||||
"port": 443,
|
||||
"users": [
|
||||
{
|
||||
"id": "",
|
||||
"encryption": "none",
|
||||
"level": 0
|
||||
"encryption": "none"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -41,12 +33,10 @@
|
||||
"network": "gun",
|
||||
"security": "tls",
|
||||
"tlsSettings": {
|
||||
"serverName": "your.domain.com",
|
||||
"allowInsecure": false,
|
||||
"serverName": "your_domain",
|
||||
"alpn": [
|
||||
"h2"
|
||||
],
|
||||
"disableSessionResumption": true
|
||||
]
|
||||
},
|
||||
"grpcSettings": {
|
||||
"serviceName": "GunService"
|
||||
|
@ -11,29 +11,17 @@
|
||||
"clients": [
|
||||
{
|
||||
"id": "",
|
||||
"level": 0,
|
||||
"email": "love@v2fly.org"
|
||||
}
|
||||
],
|
||||
"decryption": "none",
|
||||
"fallbacks": [
|
||||
{
|
||||
"dest": 8001
|
||||
},
|
||||
{
|
||||
"alpn": "h2",
|
||||
"dest": 8002
|
||||
}
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "gun",
|
||||
"security": "tls",
|
||||
"tlsSettings": {
|
||||
"serverName": "your.domain.com",
|
||||
"serverName": "your_domain",
|
||||
"alpn": [
|
||||
"h2",
|
||||
"http/1.1"
|
||||
"h2"
|
||||
],
|
||||
"certificates": [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user