更新4.0配置信息

pull/62/head
wulabing 2018-11-22 10:26:41 +08:00 committed by GitHub
parent 278aadac7d
commit 9dab8d795e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 21 deletions

View File

@ -277,7 +277,8 @@ acme(){
v2ray_conf_add(){
cat>${v2ray_conf_dir}/config.json<<EOF
{
"inbound": {
"inbounds": [
{
"port": 10000,
"listen":"127.0.0.1",
"protocol": "vmess",
@ -292,14 +293,17 @@ v2ray_conf_add(){
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/ray/"
"path": "/ray"
}
}
},
"outbound": {
}
],
"outbound": [
{
"protocol": "freedom",
"settings": {}
}
]
}
EOF
@ -364,7 +368,7 @@ show_information(){
echo -e "${Red} 加密方式security${Font} 自适应 "
echo -e "${Red} 传输协议network${Font} ws "
echo -e "${Red} 伪装类型type${Font} none "
echo -e "${Red} 伪装域名(不要落下/${Font} /${camouflage}/ "
echo -e "${Red} 路径(不要落下/${Font} /${camouflage}/ "
echo -e "${Red} 底层传输安全:${Font} tls "