/tls/configure and /tls/status -- now there's an explicit 'enabled' bool.
This commit is contained in:
committed by
Eugene Bujak
parent
8da90a7f4a
commit
81bb4aea78
@@ -62,6 +62,7 @@ type dnsConfig struct {
|
||||
var defaultDNS = []string{"tls://1.1.1.1", "tls://1.0.0.1"}
|
||||
|
||||
type tlsConfigSettings struct {
|
||||
Enabled bool `yaml:"enaled" json:"enabled"`
|
||||
ServerName string `yaml:"server_name" json:"server_name,omitempty"`
|
||||
ForceHTTPS bool `yaml:"force_https" json:"force_https,omitempty"`
|
||||
PortHTTPS int `yaml:"port_https" json:"port_https,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user