Redirect https:8443 gives 404

I want to redirect https:8443 to https:443 globally, so I copied the settings for port 80
However, only HTTP:8443 ->https:443 works, https:8443 gives file not found.

The sites only have the websecure entrypoint.

  - "--entrypoints.websecure.address=:443"
  - "--entrypoints.web.address=:80"
  - "--entrypoints.websecureextra.address=:8443"
  - "--entrypoints.web.http.redirections.entryPoint.to=websecure"
  - "--entrypoints.web.http.redirections.entryPoint.scheme=https"
  - "--entrypoints.web.http.redirections.entrypoint.permanent=true"
  - "--entrypoints.websecureextra.http.redirections.entryPoint.to=websecure"
  - "--entrypoints.websecureextra.http.redirections.entryPoint.scheme=https"
  - "--entrypoints.websecureextra.http.redirections.entrypoint.permanent=true"

I tried with -entrypoints.websecureextra.https.redirections.entryPoint. but that just said that https was invalid key or something to that effect.

Hi @leifnel

You'll need to enable tls on the websecureextra entrypoint.

- --entrypoints.websecureextra.http.tls=true