Update install.sh

pull/62/head
wulabing 2018-11-22 13:14:04 +08:00 committed by GitHub
parent 4c60b767d5
commit 51614f31f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 32 deletions

View File

@ -275,38 +275,8 @@ acme(){
fi
}
v2ray_conf_add(){
cat>${v2ray_conf_dir}/config.json<<EOF
{
"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"
}
}
}
],
"outbound": [
{
"protocol": "freedom",
"settings": {}
}
]
}
EOF
cd /etc/v2ray
wget https://raw.githubusercontent.com/wulabing/V2Ray_ws-tls_bash_onekey/master/tls/config.json
modify_port_UUID
judge "V2ray 配置修改"
}