NO-JIRA: Fix sippy staging HATEOAS links by preserving Host header#82378
Conversation
Add ProxyPreserveHost On to the httpd reverse proxy config so the original Host header is forwarded to sippy's backend. Without this, Apache rewrites the Host to localhost:8080, causing GetBaseURL() to return the internal address instead of the tunnel URL. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
@smg247: This pull request explicitly references no jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughThe Sippy staging deployment script now adds ChangesSippy staging proxy
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse pull-ci-openshift-sippy-main-agentic-staging |
|
@smg247: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse ack |
|
@smg247: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: neisw, smg247 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
86f553e
into
openshift:main
Add ProxyPreserveHost On to the httpd reverse proxy config so the original Host header is forwarded to sippy's backend. Without this, Apache rewrites the Host to localhost:8080, causing GetBaseURL() to return the internal address instead of the tunnel URL.
Summary by CodeRabbit
Updates the sippy staging Apache reverse proxy to preserve the original
Hostheader, ensuring backend-generated HATEOAS links use the tunnel URL instead oflocalhost:8080.