No "404" on https port when using http

I have a configuration (included below) which redirects from http to https. unfortunately when i connect the httpS port using http, i get a "404" in return. other web servers tell me "you used http on a https port", which is far more helpful.

would that be possible?

minimal configuration here:

# dynamic config
[http.routers]
  [http.routers.secure-traffic]
    entryPoints = ["websecure"]
    service = "backend"
    rule = "PathPrefix(`/`)"

  [http.routers.secure-traffic.tls]

[http.services]
  [http.services.backend.loadBalancer]
    [[http.services.backend.loadBalancer.servers]]
      url = "http://localhost:18080"

[tls.stores.default.defaultCertificate]
  certFile = "./cert.pem"
  keyFile  = "./cert.key"

and here:

# static config
[entryPoints.web]
  address = ":8080"

  [entryPoints.web.http.redirections.entryPoint]
    to = "websecure"
    scheme = "https"

[entryPoints.websecure]
  address = ":8443"

[providers]
  [providers.file]
    filename = "traefik-dynamic.toml"