Add HTTP to HTTPS redirect for all ingresses
This commit is contained in:
9
clusters/lab/infrastructure/traefik-redirect.yaml
Normal file
9
clusters/lab/infrastructure/traefik-redirect.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: redirect-https
|
||||
namespace: default
|
||||
spec:
|
||||
redirectScheme:
|
||||
scheme: https
|
||||
permanent: true
|
||||
Reference in New Issue
Block a user