Add Lua module to serve SSL Certificates dynamically
This commit is contained in:
parent
b214282057
commit
cbf041fc3e
6 changed files with 578 additions and 2 deletions
|
|
@ -731,7 +731,7 @@ func clearCertificates(config *ingress.Configuration) {
|
|||
var clearedServers []*ingress.Server
|
||||
for _, server := range config.Servers {
|
||||
copyOfServer := *server
|
||||
copyOfServer.SSLCert = ingress.SSLCert{}
|
||||
copyOfServer.SSLCert = ingress.SSLCert{PemFileName: copyOfServer.SSLCert.PemFileName}
|
||||
clearedServers = append(clearedServers, ©OfServer)
|
||||
}
|
||||
config.Servers = clearedServers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue