节点组合配置时服务间可以共用证书数据

This commit is contained in:
GoEdgeLab
2023-03-18 22:18:13 +08:00
parent 28c7abf1d6
commit bbc25168c2
26 changed files with 111 additions and 78 deletions

View File

@@ -78,7 +78,7 @@ func (this *Server) DecodeHTTPSPorts() (ports []int) {
if err != nil {
return nil
}
err = config.Init()
err = config.Init(nil)
if err != nil {
return nil
}
@@ -120,7 +120,7 @@ func (this *Server) DecodeTLSPorts() (ports []int) {
if err != nil {
return nil
}
err = config.Init()
err = config.Init(nil)
if err != nil {
return nil
}