feat: add HTTPS redirect middleware
This commit is contained in:
9
apps/nginx-weighted/middleware.yaml
Normal file
9
apps/nginx-weighted/middleware.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: redirect-https
|
||||||
|
namespace: nginx-mcp
|
||||||
|
spec:
|
||||||
|
redirectScheme:
|
||||||
|
scheme: https
|
||||||
|
permanent: true
|
||||||
Reference in New Issue
Block a user