mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-01-19 06:19:28 +08:00
commit
3ac35a0062
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -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": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user