mirror of https://github.com/wulabing/Xray_onekey
更新4.0配置信息
parent
278aadac7d
commit
9dab8d795e
14
install.sh
14
install.sh
|
@ -277,7 +277,8 @@ acme(){
|
||||||
v2ray_conf_add(){
|
v2ray_conf_add(){
|
||||||
cat>${v2ray_conf_dir}/config.json<<EOF
|
cat>${v2ray_conf_dir}/config.json<<EOF
|
||||||
{
|
{
|
||||||
"inbound": {
|
"inbounds": [
|
||||||
|
{
|
||||||
"port": 10000,
|
"port": 10000,
|
||||||
"listen":"127.0.0.1",
|
"listen":"127.0.0.1",
|
||||||
"protocol": "vmess",
|
"protocol": "vmess",
|
||||||
|
@ -292,14 +293,17 @@ v2ray_conf_add(){
|
||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "ws",
|
"network": "ws",
|
||||||
"wsSettings": {
|
"wsSettings": {
|
||||||
"path": "/ray/"
|
"path": "/ray"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"outbound": {
|
],
|
||||||
|
"outbound": [
|
||||||
|
{
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {}
|
"settings": {}
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -364,7 +368,7 @@ show_information(){
|
||||||
echo -e "${Red} 加密方式(security):${Font} 自适应 "
|
echo -e "${Red} 加密方式(security):${Font} 自适应 "
|
||||||
echo -e "${Red} 传输协议(network):${Font} ws "
|
echo -e "${Red} 传输协议(network):${Font} ws "
|
||||||
echo -e "${Red} 伪装类型(type):${Font} none "
|
echo -e "${Red} 伪装类型(type):${Font} none "
|
||||||
echo -e "${Red} 伪装域名(不要落下/):${Font} /${camouflage}/ "
|
echo -e "${Red} 路径(不要落下/):${Font} /${camouflage}/ "
|
||||||
echo -e "${Red} 底层传输安全:${Font} tls "
|
echo -e "${Red} 底层传输安全:${Font} tls "
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue