EKS - Redirectscheme and kubernetescrd loop error 301

I'm trying to redirect http to https traffic and it seems to create a loop. I'm running EKS cluster and using an NLB running in AWS. I can't figure out what's causing this.

Middleware config:

# Redirect to https
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
  name: traefikmw
  namespace: {{ .Release.Namespace }}
    scheme: https
    permanent: true

Component ingress annotations:

    kubernetes.io/ingress.class: traefik
  # -- FQDN of external-dns in your Kubernetes cluster
    external-dns.alpha.kubernetes.io/target: traefikdev.mycompany.com
    traefik.ingress.kubernetes.io/router.middlewares: default-traefikmw@kubernetescrd

Using kubernetescrd as I am using the Kubernetes Ingress type.