mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
fix(tls): no certificate available
This commit is contained in:
parent
5864185615
commit
8f7574f212
6 changed files with 41 additions and 6 deletions
|
@ -22,7 +22,7 @@ func ReloadServerTLSCertificate() error {
|
|||
return err
|
||||
}
|
||||
|
||||
tlsCert.Store(newCert)
|
||||
tlsCert.Store(&newCert)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue