mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-02-02 06:48:14 -05:00
fix miss
This commit is contained in:
parent
597f4d1880
commit
ebe176b7b3
@ -39,9 +39,9 @@ Nodes:
|
|||||||
MinClientVer: "" # Min client version
|
MinClientVer: "" # Min client version
|
||||||
MaxClientVer: "" # Max client version
|
MaxClientVer: "" # Max client version
|
||||||
MaxTimeDiff: 0 # Max time difference, ms
|
MaxTimeDiff: 0 # Max time difference, ms
|
||||||
ShortIds:
|
ShortIds: # Short ids
|
||||||
- ""
|
- ""
|
||||||
- "0123456789abcdef" # Short id
|
- "0123456789abcdef"
|
||||||
EnableFallback: false # Only support for Trojan and Vless
|
EnableFallback: false # Only support for Trojan and Vless
|
||||||
FallBackConfigs: # Support multiple fallbacks
|
FallBackConfigs: # Support multiple fallbacks
|
||||||
- SNI: # TLS SNI(Server Name Indication), Empty for any
|
- SNI: # TLS SNI(Server Name Indication), Empty for any
|
||||||
|
@ -83,8 +83,6 @@ func BuildInbound(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, tag s
|
|||||||
},
|
},
|
||||||
RejectUnknownSNI: config.CertConfig.RejectUnknownSni,
|
RejectUnknownSNI: config.CertConfig.RejectUnknownSni,
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
} else if config.EnableReality {
|
} else if config.EnableReality {
|
||||||
// Reality
|
// Reality
|
||||||
inbound.StreamSetting.Security = "reality"
|
inbound.StreamSetting.Security = "reality"
|
||||||
@ -99,6 +97,7 @@ func BuildInbound(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, tag s
|
|||||||
ShortIds: config.RealityConfig.ShortIds,
|
ShortIds: config.RealityConfig.ShortIds,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// Support ProxyProtocol for any transport protocol
|
// Support ProxyProtocol for any transport protocol
|
||||||
if *inbound.StreamSetting.Network != "tcp" &&
|
if *inbound.StreamSetting.Network != "tcp" &&
|
||||||
*inbound.StreamSetting.Network != "ws" &&
|
*inbound.StreamSetting.Network != "ws" &&
|
||||||
|
Loading…
Reference in New Issue
Block a user