Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求助!求助,修改VMess-WS-TLS配置文件重启后不生效 #1342

Open
ChenJustin666 opened this issue Jul 23, 2024 · 1 comment
Open

Comments

@ChenJustin666
Copy link

为什么我修改了配置重启后客户端连接不了,我需要怎么改才能生效,

我需要直接修改下面两处的id,然后重启 替换成自己的,修改后不生效 ,求助
cat /etc/v2ray/conf/VMess-WS-TLS-vm.0r0y9lpm.top.json
{
"inbounds": [
{
"tag": "VMess-WS-TLS-vm.0r0y9lpm.top.json",
"port": 54658,
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "cfd9969b-a2c1-4a1a-b128-7b96b0b74163" 1. 需要修改
}
]
},
"streamSettings": {
"network": "ws",
"security": "none",
"wsSettings": {
"path": "ef22911d-d9b8-47a4-a462-53c685eb3b14", 2. 需要修改
"headers": {
"Host": "vm.0r0y9lpm.top"
}
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
]
}

systemctl restart caddy
systemctl restart v2ray
然后重启了不生效

需要如何才能成功呢????

@233boy
Copy link
Owner

233boy commented Jul 23, 2024

不知道你,你想要更改这两个也不用手动来啊,脚本就能更改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants