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