增加支持服务CNAME选项/提供重新生成服务CNAME API

This commit is contained in:
GoEdgeLab
2021-10-16 12:02:42 +08:00
parent 053ae18d4e
commit c69908b22f
4 changed files with 76 additions and 3 deletions

View File

@@ -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
}
}
// 全局设置