Groups
Groups
Sign in
Groups
Groups
kubernetes-sig-aws
Conversations
About
Send feedback
Help
Redirecting from www.domain.com to domain.com
12 views
Skip to first unread message
Nicholas Manning
unread,
Apr 19, 2019, 10:16:35 AM
4/19/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kubernetes-sig-aws
Hello, is there a way to redirect from
www.domain.com
to
domain.com
?
Here's my current config, as I'm serving up
www.domain.com
for now until I can redirect:
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
name
:
redacted
namespace
:
default
annotations
:
kubernetes.io/ingress.class
:
alb
alb.ingress.kubernetes.io/scheme
:
internet-facing
alb.ingress.kubernetes.io/certificate-arn
:
"
redacted
"
alb.ingress.kubernetes.io/listen-ports
:
'[{"HTTP": 80}, {"HTTPS":443}]'
alb.ingress.kubernetes.io/actions.ssl-redirect
:
'{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
spec
:
rules
:
-
host
:
domain
.com
http
:
paths
:
-
path
:
/*
backend
:
serviceName
:
ssl-redirect
servicePort
:
use-annotation
-
path
:
/*
backend
:
serviceName
:
redacted
servicePort
:
80
-
host
:
www.domain.com
http
:
paths
:
-
path
:
/*
backend
:
serviceName
:
ssl-redirect
servicePort
:
use-annotation
-
path
:
/*
backend
:
serviceName
:
redacted
servicePort
:
80
Reply all
Reply to author
Forward
0 new messages