mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-02-01 22:38:13 -05:00
fix tls for xray
This commit is contained in:
parent
ad03c27289
commit
4d6686a11e
@ -136,7 +136,7 @@ func (c *Client) GetNodeInfo() (node *NodeInfo, err error) {
|
|||||||
node.UpMbps = rsp.UpMbps
|
node.UpMbps = rsp.UpMbps
|
||||||
node.HyObfs = rsp.Obfs
|
node.HyObfs = rsp.Obfs
|
||||||
}
|
}
|
||||||
c.etag = r.Header().Get("Etag")
|
c.etag = r.Header().Get("ETag")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,6 +89,7 @@ func BuildInbound(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, tag s
|
|||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
// Normal tls
|
// Normal tls
|
||||||
|
in.StreamSetting.Security = "tls"
|
||||||
in.StreamSetting.TLSSettings = &coreConf.TLSConfig{
|
in.StreamSetting.TLSSettings = &coreConf.TLSConfig{
|
||||||
Certs: []*coreConf.TLSCertConfig{
|
Certs: []*coreConf.TLSCertConfig{
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user