1
0
Эх сурвалжийг харах

re-format and fix vless settings (#69)

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

* fix: add decryption none to vless settings
sixg0000d 4 жил өмнө
parent
commit
14662e8461

+ 45 - 45
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"
+                }
+            }
+        }
+    ]
 }

+ 44 - 43
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": "[email protected]"
-					}
-				]
-			},
-			"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": "[email protected]"
+                    }
+                ],
+                "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"
+        }
+    ]
+}