Take this simple container:
whoami:
image: traefik/whoami
container_name: whoami
networks:
- frontend
labels:
- "traefik.enable=true"
- "traefik.http.routers.whoami.entrypoints=websecure"
- "traefik.http.routers.whoami.rule=Host(`whoami.example.com`)"
- "traefik.http.routers.whoami.tls=true"
- "traefik.http.routers.whoami.tls.certresolver=le-https"
This will reverse proxy whoami.example.com to the whoami container with a SSL certificate from Lets Encrypt. Now, how would you add another domain but does not request a certificate through Lets Encrypt?
So 2 domains, one with SSL cert from LE, one without. Just a case of adding another router to the labels? A lot of duplicate config like that, any more efficient way of doing it?