mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-02 06:20:24 +08:00
自动创建默认集群
This commit is contained in:
@@ -134,6 +134,7 @@ func (this *Setup) Run() error {
|
||||
httpConfig.IsOn = true
|
||||
httpConfig.Listen = []*serverconfigs.NetworkAddressConfig{
|
||||
{
|
||||
Protocol: "https",
|
||||
PortRange: strconv.Itoa(this.config.APINodePort),
|
||||
},
|
||||
}
|
||||
@@ -148,6 +149,7 @@ func (this *Setup) Run() error {
|
||||
httpsConfig.IsOn = true
|
||||
httpsConfig.Listen = []*serverconfigs.NetworkAddressConfig{
|
||||
{
|
||||
Protocol: "https",
|
||||
PortRange: strconv.Itoa(this.config.APINodePort),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user