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

Compare commits

..

No commits in common. "master" and "v4.1.11" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View file

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

View file

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