ADD gRPC support
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
* **安装好 wget**,Centos用户运行:`yum install -y wget`;Debian/Ubuntu用户运行:`apt install -y wget`。
|
||||
|
||||
### 安装/更新方式(此为Xray版)
|
||||
VLESS+Nginx+WebSocket+TLS 或 VLESS+XTLS+Nginx 或 ws ONLY 三选一:
|
||||
VLESS+Nginx+WebSocket/gRPC+TLS 或 VLESS+XTLS+Nginx+ws+gRPC 或 ws/gRPC ONLY 三选一:
|
||||
```
|
||||
wget -N --no-check-certificate -q -O install.sh "https://raw.githubusercontent.com/paniy/Xray_bash_onekey/main/install.sh" && chmod +x install.sh && bash install.sh
|
||||
```
|
||||
|
||||
+39
-17
@@ -5,26 +5,48 @@
|
||||
"loglevel": "warning"
|
||||
},
|
||||
"inbounds": [{
|
||||
"port": 10086,
|
||||
"listen": "127.0.0.1",
|
||||
"tag": "VLESS-ws-in",
|
||||
"protocol": "VLESS",
|
||||
"settings": {
|
||||
"clients": [{
|
||||
"id": "UUID",
|
||||
"level": 0,
|
||||
"email": "me@idleleo.com"
|
||||
}],
|
||||
"decryption": "none"
|
||||
"port": 10086,
|
||||
"listen": "127.0.0.1",
|
||||
"tag": "VLESS-ws-in",
|
||||
"protocol": "VLESS",
|
||||
"settings": {
|
||||
"clients": [{
|
||||
"id": "UUID",
|
||||
"level": 0,
|
||||
"email": "me@idleleo.com"
|
||||
}],
|
||||
"decryption": "none"
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"security": "none",
|
||||
"wsSettings": {
|
||||
"path": "/ray/"
|
||||
}
|
||||
}
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "ws",
|
||||
"security": "none",
|
||||
"wsSettings": {
|
||||
"path": "/ray/"
|
||||
{
|
||||
"port": 10087,
|
||||
"listen": "127.0.0.1",
|
||||
"tag": "VLESS-gRPC-in",
|
||||
"protocol": "VLESS",
|
||||
"settings": {
|
||||
"clients": [{
|
||||
"id": "UUID",
|
||||
"level": 0,
|
||||
"email": "me@idleleo.com"
|
||||
}],
|
||||
"decryption": "none"
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "grpc",
|
||||
"security": "none",
|
||||
"grpcSettings": {
|
||||
"serviceName": "grpc"
|
||||
}
|
||||
}
|
||||
}
|
||||
}],
|
||||
],
|
||||
"outbounds": [{
|
||||
"protocol": "freedom",
|
||||
"tag": "direct"
|
||||
|
||||
@@ -54,6 +54,27 @@
|
||||
"path": "/websocket"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"port": 10087,
|
||||
"listen": "127.0.0.1",
|
||||
"tag": "VLESS-gRPC-in",
|
||||
"protocol": "VLESS",
|
||||
"settings": {
|
||||
"clients": [{
|
||||
"id": "UUID",
|
||||
"level": 0,
|
||||
"email": "me@idleleo.com"
|
||||
}],
|
||||
"decryption": "none"
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "grpc",
|
||||
"security": "none",
|
||||
"grpcSettings": {
|
||||
"serviceName": "grpc"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [{
|
||||
|
||||
+593
-245
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user