Proxy Opportunities through the apex host - #185
Draft
jmgasper wants to merge 2 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
/opportunitiesand child routes from the Topcoder apex host to Platform UI/statictree and exact public shell assets on the apex hostwww .../opportunitiesto the apex while preserving legacywww /staticbehaviorENV_PLATFORM_UI_ORIGINand the scopedENV_PLATFORM_UI_RESOLVERAmazonProvidedDNS addressWhy
The prior ALB rule redirected the browser to
platform-ui.topcoder-dev.com. Serving through the root nginx proxy keepstopcoder-dev.com/opportunitiesvisible. A scoped VPC resolver is required because the legacy global nginx resolvers are unreachable from the Fargate subnet.Validation
bash -n build buildimage.shnginx -tpassed in the deployed nginx runtimewwwchild route performs one redirect to the apex and preserves query strings/opportunities-oldand unrelated apex routing remain unchangedgit diff --checkDev deployment
nginx-supply-task:206, rollout completedsha256:19eac66b72c5e54d2dbe52d6fb7e05cb4b4b7c910e9f665e2752772f1678a586