Skip to content

Commit 2ec214d

Browse files
committed
Add a redirect for the console bare domain
1 parent c2030e5 commit 2ec214d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

jetty/kubernetes/gateway/nomulus-route-console.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ spec:
1010
- "console.BASE_DOMAIN"
1111
rules:
1212
- matches:
13+
- path:
14+
type: Exact
15+
value: /
1316
- path:
1417
type: PathPrefix
1518
value: /console-api
@@ -22,6 +25,12 @@ spec:
2225
name: console
2326
port: 80
2427
- matches:
28+
- path:
29+
type: Exact
30+
value: /
31+
headers:
32+
- name: "canary"
33+
value: "true"
2534
- path:
2635
type: PathPrefix
2736
value: /console-api
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!doctype html>
2+
<meta http-equiv="refresh" content="0;URL=/console">
3+
<title>Nomulus</title>
4+
<body lang="en-US">
5+
If this page doesn't change automatically, please click <a href="/console">here</a>

0 commit comments

Comments
 (0)