Skip to content

Commit cea3da0

Browse files
authored
Expose Web WHOIS redirects (#2634)
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 c2030e5 commit cea3da0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

jetty/kubernetes/nomulus-pubapi.yaml

Lines changed: 10 additions & 0 deletions
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"
@@ -104,6 +108,12 @@ spec:
104108
- port: 43
105109
targetPort: whois
106110
name: whois
111+
- port: 80
112+
targetPort: http-whois
113+
name: http-whois
114+
- port: 443
115+
targetPort: https-whois
116+
name: https-whois
107117
---
108118
apiVersion: net.gke.io/v1
109119
kind: ServiceExport

0 commit comments

Comments
 (0)