mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-12-03 18:46:05 +03:00
update config issue
This commit is contained in:
parent
03f015f8d4
commit
201d3da3a5
@ -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 };
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user