a73x

deploy/server/middleware.yaml

Ref:   Size: 362 B   History

# Every plain-HTTP route sends the caller back over TLS. Namespace-scoped, so
# each plane carries its own copy under the same name and the IngressRoutes
# reference it without qualification.
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
  name: redirect-https
  namespace: ${NAMESPACE}
spec:
  redirectScheme:
    scheme: https
    permanent: true