Error routing to VM

Hi everybody,
I use traefik for routing between some dockers, it's perfect.
But when I use it for some olds websites/apps on others VMs (same VLAN) I get some errors 404(HTTP) or 500(HTTPS) while open websites directly works.
my traefik.toml

logLevel = "DEBUG"
filePath = "/var/log/traefik/traefik2.log"

defaultEntryPoints = ["http", "https"]
address = ":80"
address = ":443"
CertFile = "/etc/ssl/traefik/CAbundle.crt"
KeyFile = "/etc/ssl/traefik/CA.key"

filePath = "/var/log/traefik/access.log"
entryPoint = "traefik"
dashboard = true
watch = true

url = "https://srv-01.mydomain.local"
backend = "back_srv-01"
passHostHeader = true
rule = "Host:support.mydomain.local"

my access.log :

Test HTTP - - [06/Aug/2019:14:16:03 +0000] "GET / HTTP/1.1" 500 21 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0" 472639 "front_srv-01" "https://srv-01.mydomain.local" 6ms

Test HTTPS - - [06/Aug/2019:14:16:13 +0000] "GET / HTTP/2.0" 404 19 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0" 472640 "backend not found" "/" 0ms

I appreciate all the suggestions.

defaultEntryPoints is not a key in the [traefikLog] table.

It needs to be at the top with logLevel.

Because of this, your frontend is not being wired to the HTTPS entrypoint, leading to the 404 you see.


logLevel = "DEBUG"
filePath = "/var/log/traefik/traefik2.log"

defaultEntryPoints = ["http", "https"]


logLevel = "DEBUG"
defaultEntryPoints = ["http", "https"]

filePath = "/var/log/traefik/traefik2.log"

And it should work.

thx fot the tip :slight_smile:
but I am unlucky,after change, same error : backend not found "/"
an other idea ?