Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'domain_config.go')
-rw-r--r--domain_config.go4
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 {