mirror of
https://github.com/google/nomulus
synced 2025-12-23 14:25:44 +00:00
Add a redirect for the console bare domain (#2718)
This commit is contained in:
@@ -11,6 +11,9 @@ spec:
|
||||
- "console.BASE_DOMAIN"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: Exact
|
||||
value: /
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /console-api
|
||||
@@ -23,6 +26,12 @@ spec:
|
||||
name: console
|
||||
port: 80
|
||||
- matches:
|
||||
- path:
|
||||
type: Exact
|
||||
value: /
|
||||
headers:
|
||||
- name: "canary"
|
||||
value: "true"
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /console-api
|
||||
|
||||
5
jetty/src/main/jetty-base/webapps/root/index.html
Normal file
5
jetty/src/main/jetty-base/webapps/root/index.html
Normal 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>
|
||||
Reference in New Issue
Block a user