Skip to content

Commit 6e03681

Browse files
committed
Expose Web WHOIS redirects
We are required to respond to HTTP(S) requests on port 80/443 on the same domain where we serve port 43 WHOIS requests. The proxy already does this by redirecting to the web WHOIS lookup page on the marketing website. This PR makes it so that requests to port 80/443 can be routed to the proxy for redirect. TESTED=tested on crash and the redirect works.
1 parent 1cbbc66 commit 6e03681

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

jetty/kubernetes/nomulus-frontend.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ spec:
109109
selector:
110110
service: frontend
111111
ports:
112-
- port: 700
112+
- protocol: TCP
113+
port: 700
113114
targetPort: epp
114115
name: epp
115116
---

jetty/kubernetes/nomulus-pubapi.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ spec:
3838
ports:
3939
- containerPort: 30001
4040
name: whois
41+
- containerPort: 30010
42+
name: http-whois
43+
- containerPort: 30011
44+
name: https-whois
4145
resources:
4246
requests:
4347
cpu: "500m"
@@ -101,9 +105,18 @@ spec:
101105
selector:
102106
service: pubapi
103107
ports:
104-
- port: 43
108+
- protocol: TCP
109+
port: 43
105110
targetPort: whois
106111
name: whois
112+
- protocol: TCP
113+
port: 80
114+
targetPort: http-whois
115+
name: http-whois
116+
- protocol: TCP
117+
port: 443
118+
targetPort: https-whois
119+
name: https-whois
107120
---
108121
apiVersion: net.gke.io/v1
109122
kind: ServiceExport

0 commit comments

Comments
 (0)