mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-25 08:20:26 +08:00
增加支持服务CNAME选项/提供重新生成服务CNAME API
This commit is contained in:
@@ -721,6 +721,10 @@ func (this *NodeDAO) ComposeNodeConfig(tx *dbs.Tx, nodeId int64, cacheMap maps.M
|
||||
continue
|
||||
}
|
||||
config.Servers = append(config.Servers, serverConfig)
|
||||
|
||||
if server.IsOn == 1 && server.SupportCNAME == 1 {
|
||||
config.SupportCNAME = true
|
||||
}
|
||||
}
|
||||
|
||||
// 全局设置
|
||||
|
||||
Reference in New Issue
Block a user