Traefik cannot route to https-service

Hi

I have issue like that

I want use traefik to serve frontend using minio that available only over https.

Without k8s I can access minio on 9000 port. When I make request to http://my.minio.url:9000 I have error Client sent an HTTP request to an HTTPS server., but when I tries to use https://my.minio.url:9000 it works fine.

But I can't configure traefik to connect to minio using https scheme - I got Client sent an HTTP request to an HTTPS server. everytime. I tried to use https entrypoint, but it changes nothing

I have ingressroute

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: minio
  namespace: traefik
spec:
  entryPoints:
  - web
  routes:
  - kind: Rule
    match: Host(`desired.host.com`)
    services:
    - name: https-minio-service-1
      port: 9000
      scheme: https

and service

apiVersion: v1
kind: Service
metadata:
  name: https-minio-service-1
  namespace: traefik
spec:
  externalName: my.minio.url
  ports:
  - name: https
    port: 9000
  type: ExternalName

but services[0].scheme in ingressroute does nothing - I can change it to 'abcd' and got same error without any additional log in traefik's pod.

When I tries to access desired.host.com I have this log:

{
   "level":"error",
   "middlewareName":"traefik-internal-recovery",
   "middlewareType":"Recovery",
   "msg":"Recovered from panic in http handler: net/http: abort Handler",
   "time":"2019-10-28T15:24:22Z"
}
{
   "ClientAddr":"--some-ip--:39964",
   "ClientHost":"--some-ip--",
   "ClientPort":"39964",
   "ClientUsername":"-",
   "DownstreamContentSize":70,
   "DownstreamStatus":500,
   "Duration":9472874,
   "OriginContentSize":70,
   "OriginDuration":8567589,
   "OriginStatus":500,
   "Overhead":905285,
   "RequestAddr":"desired.host.com",
   "RequestContentSize":0,
   "RequestCount":76,
   "RequestHost":"desired.host.com",
   "RequestMethod":"GET",
   "RequestPath":"/",
   "RequestPort":"-",
   "RequestProtocol":"HTTP/1.1",
   "RetryAttempts":0,
   "RouterName":"traefik-minio-22158d5064dd12d313d7@kubernetescrd",
   "ServiceAddr":"my.minio.url:9000",
   "ServiceName":"traefik-minio-22158d5064dd12d313d7@kubernetescrd",
   "ServiceURL":{
      "Scheme":"http",
      "Opaque":"",
      "User":null,
      "Host":"my.minio.url:9000",
      "Path":"",
      "RawPath":"",
      "ForceQuery":false,
      "RawQuery":"",
      "Fragment":""
   },
   "StartLocal":"2019-10-28T15:24:22.018976751Z",
   "StartUTC":"2019-10-28T15:24:22.018976751Z",
   "entryPointName":"web",
   "level":"info",
   "msg":"",
   "time":"2019-10-28T15:24:22Z"
}

You can see that ServiceURL.Scheme is "http"

What I doing wrong?

Thank you

Solved after upgrade to v2.0.4