1
0
Fork 0
mirror of https://github.com/proxysu/ProxySU.git synced 2025-04-03 13:53:36 +03:00

Compare commits

...

2 commits

Author SHA1 Message Date
test
201d3da3a5 update config issue 2023-11-09 10:34:31 +08:00
test
03f015f8d4 fix xray不支持xtls-rprx-vision,none 2023-11-08 12:00:21 +08:00
2 changed files with 4 additions and 3 deletions

View file

@ -79,7 +79,8 @@ namespace ProxySuper.Core.Services
}
var domain = parameters.MaskDomain
.TrimStart("http://".ToCharArray())
.TrimStart("https://".ToCharArray());
.TrimStart("https://".ToCharArray())
.TrimEnd('/');
caddyStr = caddyStr.Replace("##reverse_proxy##", $"reverse_proxy {prefix}{domain} {{ \n header_up Host {domain} \n }}");
}
@ -103,7 +104,7 @@ namespace ProxySuper.Core.Services
}
else
{
flow = "xtls-rprx-vision,none";//兼容普通tls与xtls
flow = "xtls-rprx-vision";//兼容普通tls与xtls
obj = new { id = id, flow = flow };
}

View file

@ -5,7 +5,7 @@
"clients": [
{
"id": "",
"flow": "xtls-rprx-vision,none"
"flow": "xtls-rprx-vision"
}
],
"decryption": "none",