Hello @jeromeSH26 and thanks for your interest in Traefik,
When configuring the redirection at the entryPoints
level, there is no need to configure a redirectScheme
middleware. Apart from that, the ldb1_route
middleware is missing the TLS configuration which is why Traefik is returning a 404
.
The configuration should look like the following:
http:
routers:
ldb1_route:
entryPoints: websecure
service: ldb1_service
rule: "Path(`/`)"
tls: {} # <-- to enable TLS
services:
ldb1_service:
loadBalancer:
servers:
- url: "http://192.168.1.99:8081"
- url: "http://192.168.1.99:8082"
Hope this helps!