mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-02-06 11:55:39 +08:00
增加服务CNAME相关配置和服务
This commit is contained in:
@@ -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配置
|
||||
|
||||
Reference in New Issue
Block a user