[bugfix] Frontend: rewrite proxy Host header for Istio mesh routing#481
Merged
Conversation
Caddy's reverse_proxy preserved the browser's original Host header
(the external hostname) when proxying /_query* and /-/* to the backend.
Behind an Istio service mesh, the sidecar routes by Host: an unrecognized
external host falls through to PassthroughCluster and fails with 503.
Add `header_up Host {http.reverse_proxy.upstream.hostport}` so the proxied
request carries the backend's hostport, letting the mesh route it to the
correct cluster.
Fixes #478
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TsqHDFCs6ebQPjXQNpvNsW
Bump the chart's own semver to trigger publish-chart.yml, shipping the Istio Host-header proxy fix (#478). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TsqHDFCs6ebQPjXQNpvNsW
This reverts commit ec74ecc.
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.
Caddy's reverse_proxy preserved the browser's original Host header
(the external hostname) when proxying /_query* and /-/* to the backend.
Behind an Istio service mesh, the sidecar routes by Host: an unrecognized
external host falls through to PassthroughCluster and fails with 503.
Add
header_up Host {http.reverse_proxy.upstream.hostport}so the proxiedrequest carries the backend's hostport, letting the mesh route it to the
correct cluster.
Fixes #478
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com