fix tls for xray

This commit is contained in:
yuzuki999 2023-06-20 17:08:36 +08:00
parent ad03c27289
commit 4d6686a11e
2 changed files with 2 additions and 1 deletions

View File

@ -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
}

View File

@ -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{
{