增加服务CNAME相关配置和服务

This commit is contained in:
刘祥超
2021-10-16 12:03:44 +08:00
parent 226051e555
commit e41ce4bb4c
6 changed files with 1088 additions and 819 deletions

View File

@@ -17,6 +17,7 @@ type ServerConfig struct {
Description string `yaml:"description" json:"description"` // 描述
AliasServerNames []string `yaml:"aliasServerNames" json:"aliasServerNames"` // 关联的域名比如CNAME之类的
ServerNames []*ServerNameConfig `yaml:"serverNames" json:"serverNames"` // 域名
SupportCNAME bool `yaml:"supportCNAME" json:"supportCNAME"` // 是否支持CNAME
// 前端协议
HTTP *HTTPProtocolConfig `yaml:"http" json:"http"` // HTTP配置