chore: add SSL redirect
This commit is contained in:
+12
-7
@@ -7,12 +7,17 @@ metadata:
|
||||
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80},{"HTTPS": 443}]'
|
||||
alb.ingress.kubernetes.io/scheme: internet-facing
|
||||
alb.ingress.kubernetes.io/target-type: instance
|
||||
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
|
||||
spec:
|
||||
rules:
|
||||
- host: "lingonpaj.com"
|
||||
http:
|
||||
paths:
|
||||
- path: /*
|
||||
backend:
|
||||
serviceName: lingonpaj-site
|
||||
servicePort: 80
|
||||
- host: "lingonpaj.com"
|
||||
http:
|
||||
paths:
|
||||
- path: /*
|
||||
backend:
|
||||
serviceName: ssl-redirect
|
||||
servicePort: use-annotation
|
||||
- path: /*
|
||||
backend:
|
||||
serviceName: lingonpaj-site
|
||||
servicePort: 80
|
||||
|
||||
Reference in New Issue
Block a user