1
0
mirror of https://github.com/google/nomulus synced 2025-12-23 06:15:42 +00:00

Add a redirect for the console bare domain (#2718)

This commit is contained in:
Lai Jiang
2025-03-14 14:16:25 -04:00
committed by GitHub
parent 93d77e558f
commit 2a01c12b14
2 changed files with 14 additions and 0 deletions

View File

@@ -11,6 +11,9 @@ spec:
- "console.BASE_DOMAIN" - "console.BASE_DOMAIN"
rules: rules:
- matches: - matches:
- path:
type: Exact
value: /
- path: - path:
type: PathPrefix type: PathPrefix
value: /console-api value: /console-api
@@ -23,6 +26,12 @@ spec:
name: console name: console
port: 80 port: 80
- matches: - matches:
- path:
type: Exact
value: /
headers:
- name: "canary"
value: "true"
- path: - path:
type: PathPrefix type: PathPrefix
value: /console-api value: /console-api

View File

@@ -0,0 +1,5 @@
<!doctype html>
<meta http-equiv="refresh" content="0;URL=/console">
<title>Nomulus</title>
<body lang="en-US">
If this page doesn't change automatically, please click <a href="/console">here</a>