mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-01 06:55:25 -05:00
tls settings for http proxy
This commit is contained in:
@@ -4,8 +4,15 @@ import (
|
||||
v2net "github.com/v2ray/v2ray-core/common/net"
|
||||
)
|
||||
|
||||
type TlsConfig struct {
|
||||
Enabled bool
|
||||
CertFile string
|
||||
KeyFile string
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
OwnHosts []v2net.Address
|
||||
OwnHosts []v2net.Address
|
||||
TlsConfig *TlsConfig
|
||||
}
|
||||
|
||||
func (this *Config) IsOwnHost(host v2net.Address) bool {
|
||||
|
||||
Reference in New Issue
Block a user