mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-17 19:07:08 +08:00
fix: Fixed issue with child nodes cannot enable "HTTPS Anti-Site Hijacking" (#10032)
Refs https://github.com/1Panel-dev/1Panel/issues/10031
This commit is contained in:
parent
cd2109fefe
commit
7bcc897379
1 changed files with 3 additions and 0 deletions
|
@ -207,6 +207,9 @@ func printSSLLog(logger *log.Logger, msgKey string, params map[string]interface{
|
|||
}
|
||||
|
||||
func reloadSystemSSL(websiteSSL *model.WebsiteSSL, logger *log.Logger) {
|
||||
if global.CoreDB == nil {
|
||||
return
|
||||
}
|
||||
systemSSLEnable, sslID := GetSystemSSL()
|
||||
if systemSSLEnable && sslID == websiteSSL.ID {
|
||||
fileOp := files.NewFileOp()
|
||||
|
|
Loading…
Add table
Reference in a new issue