mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
fix ProxyProtocol
This commit is contained in:
34
conf/node.go
34
conf/node.go
@@ -15,26 +15,26 @@ type ApiConfig struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ControllerConfig struct {
|
type ControllerConfig struct {
|
||||||
ListenIP string `yaml:"ListenIP"`
|
ListenIP string `yaml:"ListenIP"`
|
||||||
SendIP string `yaml:"SendIP"`
|
SendIP string `yaml:"SendIP"`
|
||||||
EnableProxyProtocol bool `yaml:"EnableProxyProtocol"`
|
XrayOptions XrayOptions `yaml:"XrayOptions"`
|
||||||
XrayOptions XrayOptions `yaml:"XrayOptions"`
|
HyOptions HyOptions `yaml:"HyOptions"`
|
||||||
HyOptions HyOptions `yaml:"HyOptions"`
|
LimitConfig LimitConfig `yaml:"LimitConfig"`
|
||||||
LimitConfig LimitConfig `yaml:"LimitConfig"`
|
CertConfig *CertConfig `yaml:"CertConfig"`
|
||||||
CertConfig *CertConfig `yaml:"CertConfig"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type XrayOptions struct {
|
type XrayOptions struct {
|
||||||
EnableDNS bool `yaml:"EnableDNS"`
|
EnableProxyProtocol bool `yaml:"EnableProxyProtocol"`
|
||||||
DNSType string `yaml:"DNSType"`
|
EnableDNS bool `yaml:"EnableDNS"`
|
||||||
EnableVless bool `yaml:"EnableVless"`
|
DNSType string `yaml:"DNSType"`
|
||||||
VlessFlow string `json:"VlessFlow"`
|
EnableVless bool `yaml:"EnableVless"`
|
||||||
EnableUot bool `yaml:"EnableUot"`
|
VlessFlow string `json:"VlessFlow"`
|
||||||
EnableTFO bool `yaml:"EnableTFO"`
|
EnableUot bool `yaml:"EnableUot"`
|
||||||
DisableIVCheck bool `yaml:"DisableIVCheck"`
|
EnableTFO bool `yaml:"EnableTFO"`
|
||||||
DisableSniffing bool `yaml:"DisableSniffing"`
|
DisableIVCheck bool `yaml:"DisableIVCheck"`
|
||||||
EnableFallback bool `yaml:"EnableFallback"`
|
DisableSniffing bool `yaml:"DisableSniffing"`
|
||||||
FallBackConfigs []FallBackConfig `yaml:"FallBackConfigs"`
|
EnableFallback bool `yaml:"EnableFallback"`
|
||||||
|
FallBackConfigs []FallBackConfig `yaml:"FallBackConfigs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type HyOptions struct {
|
type HyOptions struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user