Hello,
the root TLS section doesn't have a passthrough option.
Also the passthrough is only for TCP routers.
So dynamic configuration (config.yaml) should look like that:
tls:
stores:
default:
defaultCertificate:
certFile: "/home/matthew/github.com/ampretia/tls-expr/proxy.crt"
keyFile: "/home/matthew/github.com/ampretia/tls-expr/proxy.key"
http:
routers:
Router-1:
rule: "Host('srv1.localho.st')"
service: my-service
tls: {}
services:
my-service:
loadBalancer:
serversTransport: transport_host
servers:
- url: "https://localho.st:9443"
serversTransports:
transport_host:
insecureSkipVerify: true
And your static configuration (traefik.yaml):
log:
level: DEBUG
providers:
file:
filename: "/home/matthew/github.com/ampretia/tls-expr/traefik/config.yaml"
watch: true
entryPoints:
websecure:
address: ":8443"