diff options
Diffstat (limited to 'domain_config.go')
-rw-r--r-- | domain_config.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/domain_config.go b/domain_config.go index e0f00cc4..f5c3db79 100644 --- a/domain_config.go +++ b/domain_config.go @@ -11,10 +11,12 @@ type domainConfig struct { Domain string Certificate string Key string + HTTPSOnly bool `json:"https_only"` } type domainsConfig struct { - Domains []domainConfig + Domains []domainConfig + HTTPSOnly bool `json:"https_only"` } func (c *domainConfig) Valid(rootDomain string) bool { |