feat: add HTTPS redirect middleware
Some checks failed
books / docker (push) Successful in 8s
books / deploy (push) Failing after 2s

This commit is contained in:
Djohn 2026-02-07 11:12:32 +01:00
parent 0d353037c2
commit 2621925324
No known key found for this signature in database
3 changed files with 11 additions and 1 deletions

8
k8s/base/middleware.yaml Normal file
View file

@ -0,0 +1,8 @@
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: redirect-to-https
spec:
redirectScheme:
permanent: true
scheme: https