I am currently managing about a 100 servers, each having multiple websites hosted as containers behind Traefik.
I noticed that when we add a second domain to a website for which Traefik already has a certificate, Traefik will keep the certificate that it already had and generate a new one for the newly added domain, resulting in two certificates for that website.
I would however like for these domains to always be combined in a single certificate, and I would like for Traefik in this situation to generate a single new certificate containing both domain names, and to discard the old certificate which does not contain the new domain name.
Is there any way to do this?
Thank you for using Traefik.
Have you tried to use SANS feature according to that example?
- match: Host(`example.com`) && Path(`/blog`)
- name: blog
- main: example.org
Thank you for your response, @jakubhajek !
I am using docker-compose, the labels on my containers look as follows:
I do not have any particular configuration regarding TLS or ACME, besides the definition of the