Merge pull request #576 from samwafgo/fix_ssl_folder_bug

fix: update ssl folder,hosts unchanged
This commit is contained in:
samwafgo
2025-12-02 16:29:17 +08:00
committed by GitHub

View File

@@ -110,6 +110,9 @@ func (s *WafSslConfigApi) NotifySslUpdate(oldConfig model.SslConfig, newConfig m
zlog.Error(innerLogName, "ssl host update:", err.Error())
continue
}
hosts.Certfile = newConfig.CertContent
hosts.Keyfile = newConfig.KeyContent
var chanInfo = spec.ChanCommonHost{
HostCode: hosts.Code,
Type: enums.ChanTypeSSL,