mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
Merge pull request #576 from samwafgo/fix_ssl_folder_bug
fix: update ssl folder,hosts unchanged
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user