Browse Source

Merge pull request #65 from XTLS/UDS

UDS
xqzr 3 years ago
parent
commit
3ac35a0062
2 changed files with 2 additions and 3 deletions
  1. 1 1
      VLESS-GRPC/README.md
  2. 1 2
      VLESS-GRPC/server.json

+ 1 - 1
VLESS-GRPC/README.md

@@ -28,7 +28,7 @@ server {
 		grpc_set_header X-Real-IP $remote_addr;
 		client_body_timeout 52w;
 		grpc_read_timeout 52w;
-		grpc_pass grpc://127.0.0.1:2002;
+		grpc_pass unix:/dev/shm/Xray-VLESS-gRPC.socket;
 	}
 }
 ```

+ 1 - 2
VLESS-GRPC/server.json

@@ -4,8 +4,7 @@
   },
   "inbounds": [
     {
-      "port": 2002,
-      "listen": "127.0.0.1",
+      "listen": "/dev/shm/Xray-VLESS-gRPC.socket,0666",
       "protocol": "vless",
       "settings": {
         "clients": [