fix ProxyProtocol

This commit is contained in:
Yuzuki616
2023-07-09 12:57:30 +08:00
parent 251702c06a
commit 536a93dfc1

View File

@@ -17,7 +17,6 @@ type ApiConfig struct {
type ControllerConfig struct {
ListenIP string `yaml:"ListenIP"`
SendIP string `yaml:"SendIP"`
EnableProxyProtocol bool `yaml:"EnableProxyProtocol"`
XrayOptions XrayOptions `yaml:"XrayOptions"`
HyOptions HyOptions `yaml:"HyOptions"`
LimitConfig LimitConfig `yaml:"LimitConfig"`
@@ -25,6 +24,7 @@ type ControllerConfig struct {
}
type XrayOptions struct {
EnableProxyProtocol bool `yaml:"EnableProxyProtocol"`
EnableDNS bool `yaml:"EnableDNS"`
DNSType string `yaml:"DNSType"`
EnableVless bool `yaml:"EnableVless"`