From 14662e84613a5ecc492d8c967d2e2bea10e1c88d Mon Sep 17 00:00:00 2001 From: sixg0000d Date: Fri, 30 Apr 2021 15:07:51 +0800 Subject: [PATCH] re-format and fix vless settings (#69) * VLESS-gRPC-TLS: convert indentation to spaces format by vscode * fix: add decryption none to vless settings --- VLESS-gRPC-TLS/config_client.json | 90 +++++++++++++++---------------- VLESS-gRPC-TLS/config_server.json | 87 +++++++++++++++--------------- 2 files changed, 89 insertions(+), 88 deletions(-) diff --git a/VLESS-gRPC-TLS/config_client.json b/VLESS-gRPC-TLS/config_client.json index c58629e..8ce239b 100644 --- a/VLESS-gRPC-TLS/config_client.json +++ b/VLESS-gRPC-TLS/config_client.json @@ -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" + } + } + } + ] } \ No newline at end of file diff --git a/VLESS-gRPC-TLS/config_server.json b/VLESS-gRPC-TLS/config_server.json index fdedc87..46bc3cb 100644 --- a/VLESS-gRPC-TLS/config_server.json +++ b/VLESS-gRPC-TLS/config_server.json @@ -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" + } + ] +} \ No newline at end of file