forked from lxhao61/integrated-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,8 +30,8 @@ | |
}, | ||
{ | ||
"path": "/HALdGZ9k", //通过路径分流 | ||
"dest": 2001, //分流后转给vless+ws监听端口 | ||
"xver": 2 //开启PROXY protocol发送,发送真实来源IP和端口给如下vless+ws应用。1或2表示PROXY protocol版本。多级传递,建议配置2。 | ||
"dest": 2001, //分流后转给vmess+ws监听端口 | ||
"xver": 2 //开启PROXY protocol发送,发送真实来源IP和端口给如下vmess+ws应用。1或2表示PROXY protocol版本。多级传递,建议配置2。 | ||
} | ||
] | ||
}, | ||
|
@@ -67,16 +67,15 @@ | |
}, | ||
{ | ||
"listen": "127.0.0.1", //只监听本机,避免本机外的机器探测到下面端口。 | ||
"port": 2001, //vless+ws监听端口 | ||
"protocol": "vless", | ||
"port": 2001, //vmess+ws监听端口 | ||
"protocol": "vmess", | ||
"settings": { | ||
"clients": [ | ||
{ | ||
"id": "048e0bf2-dd56-11e9-aa37-5600024c1d6a", //修改为自己的UUID | ||
"id": "21376258-dd56-11e9-aa37-5600024c1d6a", //修改为自己的UUID | ||
"email": "[email protected]" | ||
} | ||
], | ||
"decryption": "none" | ||
] | ||
}, | ||
"streamSettings": { | ||
"network": "ws", | ||
|