Hey,
I have set a default certificate with the following method in my traefik.yml.
tls:
stores:
default:
defaultCertificate:
certFile: path/to/cert.crt
keyFile: path/to/cert.key
Now I want to overwrite this certificate for some domains. So I tried this in my config.yml file.
http:
#region routers
routers:
plex:
entryPoints:
- web
- websecure
rule: "Host(`plex.example.tk`)"
middlewares:
- authelia
tls:
certResolver: staging
service: plex
Still, the default certificate is used. When the default certificate section is commented, it switches to my certresolver.
Any idea to make them both work?