mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
fix ProxyProtocol
This commit is contained in:
@@ -17,7 +17,6 @@ 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"`
|
||||||
@@ -25,6 +24,7 @@ type ControllerConfig struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type XrayOptions struct {
|
type XrayOptions struct {
|
||||||
|
EnableProxyProtocol bool `yaml:"EnableProxyProtocol"`
|
||||||
EnableDNS bool `yaml:"EnableDNS"`
|
EnableDNS bool `yaml:"EnableDNS"`
|
||||||
DNSType string `yaml:"DNSType"`
|
DNSType string `yaml:"DNSType"`
|
||||||
EnableVless bool `yaml:"EnableVless"`
|
EnableVless bool `yaml:"EnableVless"`
|
||||||
|
|||||||
Reference in New Issue
Block a user