mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-03 09:36:35 +08:00
服务配置中增加CNAME相关信息
This commit is contained in:
@@ -18,6 +18,8 @@ type ServerConfig struct {
|
||||
Description string `yaml:"description" json:"description"` // 描述
|
||||
AliasServerNames []string `yaml:"aliasServerNames" json:"aliasServerNames"` // 关联的域名,比如CNAME之类的
|
||||
ServerNames []*ServerNameConfig `yaml:"serverNames" json:"serverNames"` // 域名
|
||||
CNameDomain string `yaml:"cnameDomain" json:"cnameDomain"` // CNAME(末尾不带点(.))
|
||||
CNameAsDomain bool `yaml:"cnameAsDomain" json:"cnameAsDomain"` // 启用CNAME域名访问
|
||||
SupportCNAME bool `yaml:"supportCNAME" json:"supportCNAME"` // 是否支持CNAME
|
||||
|
||||
// 前端协议
|
||||
|
||||
Reference in New Issue
Block a user