Skip to content

Commit

Permalink
Expose Web WHOIS redirects (#2634)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jianglai authored Jan 10, 2025
1 parent c2030e5 commit cea3da0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions jetty/kubernetes/nomulus-pubapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ spec:
ports:
- containerPort: 30001
name: whois
- containerPort: 30010
name: http-whois
- containerPort: 30011
name: https-whois
resources:
requests:
cpu: "500m"
Expand Down Expand Up @@ -104,6 +108,12 @@ spec:
- port: 43
targetPort: whois
name: whois
- port: 80
targetPort: http-whois
name: http-whois
- port: 443
targetPort: https-whois
name: https-whois
---
apiVersion: net.gke.io/v1
kind: ServiceExport
Expand Down

0 comments on commit cea3da0

Please sign in to comment.