Hello,
I am currently moving from v1 to v2. I have several docker containers behind Traefik which are reachable via http.
I am now trying to configure also https->traefik->http-> container. I am using defaultRule to map URLs to containers and assigned a default certificate. The certificate is presented to the browser but I get 404 on all https requests while http is still working.
I just need an idea where to look.
Regards
Shadow256
traefik.toml
################################################################
# Global configuration
################################################################
[global]
checkNewVersion = true
sendAnonymousUsage = false
################################################################
# Entrypoints configuration
################################################################
# Entrypoints definition
#
# Optional
# Default:
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.https]
address = ":443"
################################################################
# API and dashboard configuration
################################################################
# Enable API and dashboard
[api]
dashboard = true
insecure = true
################################################################
# Docker configuration backend
################################################################
# Enable Docker configuration backend
[providers.docker]
# Default host rule.
#
# Optional
# Default: "Host(`{{ normalize .Name }}`)"
#
# defaultRule = "Host(`{{ normalize .Name }}.docker.localhost`)"
defaultRule = "Host(`{{ normalize .Name }}.xxx.home`)"
[providers.file]
directory = "/etc/traefik/config"
watch = "true"
tls.toml
[[tls.certificates]]
certFile = "/certs/joker_crt.pem"
keyFile = "/certs/joker_key.pem"
stores = ["default"]
[tls.stores]
[tls.stores.default]
[tls.stores.default.defaultCertificate]
certFile = "/certs/joker_crt.pem"
keyFile = "/certs/joker_key.pem"