更新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,29 +277,33 @@ acme(){
v2ray_conf_add(){
cat>${v2ray_conf_dir}/config.json<<EOF
{
"inbound": {
"port": 10000,
"listen":"127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "b831381d-6324-4d53-ad4f-8cda48b30811",
"alterId": 64
"inbounds": [
{
"port": 10000,
"listen":"127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "b831381d-6324-4d53-ad4f-8cda48b30811",
"alterId": 64
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/ray"
}
]
},
"streamSettings":{
"network":"ws",
"wsSettings": {
"path": "/ray/"
}
}
},
"outbound": {
"protocol": "freedom",
"settings": {}
}
],
"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 "