2 domains, 2certificates, 1 Traefik

Hello,
I want to use letsEncrypt for domain1.server and self-signed for domain2.server on my Traefik_v2.5.
Didn't find any doc on the Net since 1week.
Any idea or link ?
Thanks in advance.

Easy:

  • Self-signed you can use via file.provider, add the certs to dynamic config, use tls=true on router.
  • LetsEncrypt just check the docs, in router use tls.certresolver=myresolver, which needs to be declared in static config.

They work together very well. And maybe update to current Traefik.