Merge pull request #65 from XTLS/UDS

UDS
This commit is contained in:
xqzr 2022-07-16 21:54:46 +08:00 committed by GitHub
commit 3ac35a0062
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

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

View file

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