From e74e7cf73473a7b49709351b40e9c7da4230467d Mon Sep 17 00:00:00 2001 From: NicoMen Date: Fri, 6 Apr 2018 08:44:03 +0200 Subject: [PATCH] Add ACME certificates only on ACME EntryPoint --- provider/acme/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/acme/provider.go b/provider/acme/provider.go index c45db2d77..1c8180abd 100644 --- a/provider/acme/provider.go +++ b/provider/acme/provider.go @@ -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 }