feat: add HTTPS redirect middleware
This commit is contained in:
parent
0d353037c2
commit
2621925324
3 changed files with 11 additions and 1 deletions
8
k8s/base/middleware.yaml
Normal file
8
k8s/base/middleware.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: redirect-to-https
|
||||
spec:
|
||||
redirectScheme:
|
||||
permanent: true
|
||||
scheme: https
|
||||
Loading…
Add table
Add a link
Reference in a new issue