mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 09:58:14 -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.HyObfs = rsp.Obfs
|
||||
}
|
||||
c.etag = r.Header().Get("Etag")
|
||||
c.etag = r.Header().Get("ETag")
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -89,6 +89,7 @@ func BuildInbound(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, tag s
|
||||
}
|
||||
default:
|
||||
// Normal tls
|
||||
in.StreamSetting.Security = "tls"
|
||||
in.StreamSetting.TLSSettings = &coreConf.TLSConfig{
|
||||
Certs: []*coreConf.TLSCertConfig{
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user