Skip to content

[bugfix] Frontend: rewrite proxy Host header for Istio mesh routing#481

Merged
els0r merged 3 commits into
mainfrom
claude/github-issue-478-ns92xn
Jun 20, 2026
Merged

[bugfix] Frontend: rewrite proxy Host header for Istio mesh routing#481
els0r merged 3 commits into
mainfrom
claude/github-issue-478-ns92xn

Conversation

@els0r

@els0r els0r commented Jun 20, 2026

Copy link
Copy Markdown
Owner

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 added 3 commits June 20, 2026 19:25
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
@els0r els0r merged commit 0c222e6 into main Jun 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Caddy reverse_proxy preserves original Host header, breaks Istio service mesh routing

2 participants