Add ACME certificates only on ACME EntryPoint
This commit is contained in:
parent
a19b93c966
commit
e74e7cf734
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ func (p *Provider) refreshCertificates() {
|
|||
|
||||
for _, cert := range p.certificates {
|
||||
certificate := &traefikTLS.Certificate{CertFile: traefikTLS.FileOrContent(cert.Certificate), KeyFile: traefikTLS.FileOrContent(cert.Key)}
|
||||
config.Configuration.TLS = append(config.Configuration.TLS, &traefikTLS.Configuration{Certificate: certificate})
|
||||
config.Configuration.TLS = append(config.Configuration.TLS, &traefikTLS.Configuration{Certificate: certificate, EntryPoints: []string{p.EntryPoint}})
|
||||
}
|
||||
p.configurationChan <- config
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue