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"
[traefikLog]
filePath = "/var/log/traefik/traefik2.log"

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

[accessLog]
filePath = "/var/log/traefik/access.log"
[api]
entryPoint = "traefik"
dashboard = true
[file]
watch = true

[backends]
[backends.back_srv-01]
[backends.back_srv-01.servers.serviceosticket]
url = "https://srv-01.mydomain.local"
[frontends]
[frontends.front_srv-01]
backend = "back_srv-01"
passHostHeader = true
[frontends.front_srv-01.routes.srv-01]
rule = "Host:support.mydomain.local"

my access.log :

Test HTTP

192.168.1.1 - - [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

192.168.6.34 - - [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.
Thx.
Oliver

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.

Replace:

logLevel = "DEBUG"
[traefikLog]
filePath = "/var/log/traefik/traefik2.log"

defaultEntryPoints = ["http", "https"]

with

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

[traefikLog]
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 ?