re-format and fix vless settings (#69)

* VLESS-gRPC-TLS: convert indentation to spaces
format by vscode

* fix: add decryption none to vless settings
This commit is contained in:
sixg0000d 2021-04-30 15:07:51 +08:00 committed by GitHub
parent 1b772667f2
commit 14662e8461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 89 additions and 88 deletions

View File

@ -1,47 +1,47 @@
{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": "1080",
"protocol": "socks",
"settings": {
"auth": "noauth"
}
}
],
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "your_server_ip",
"port": 443,
"users": [
{
"id": "",
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "gun",
"security": "tls",
"tlsSettings": {
"serverName": "your_domain",
"alpn": [
"h2"
]
},
"grpcSettings": {
"serviceName": "GunService"
}
}
}
]
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": "1080",
"protocol": "socks",
"settings": {
"auth": "noauth"
}
}
],
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "your_server_ip",
"port": 443,
"users": [
{
"id": "",
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "gun",
"security": "tls",
"tlsSettings": {
"serverName": "your_domain",
"alpn": [
"h2"
]
},
"grpcSettings": {
"serviceName": "GunService"
}
}
}
]
}

View File

@ -1,45 +1,46 @@
{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "",
"email": "love@v2fly.org"
}
]
},
"streamSettings": {
"network": "gun",
"security": "tls",
"tlsSettings": {
"serverName": "your_domain",
"alpn": [
"h2"
],
"certificates": [
{
"certificateFile": "/path/to/fullchain.crt",
"keyFile": "/path/to/private.key"
}
]
},
"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"
}
]
"serviceName": "GunService"
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
}
]
}