mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-11-04 01:00:21 +00:00
fix tls for xray
This commit is contained in:
1 parent
ad03c27289
commit
4d6686a11e
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -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{
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user