Skip to content

internal/bridges: send X-Aperture-No-Redirect in bridge mode - #57

Merged
mostlygeek merged 1 commit into
mainfrom
mg/add-no-redirect-bridge
Nov 5, 2026
Merged

mostlygeek merged 1 commit into
mainfrom
mg/add-no-redirect-bridge

Conversation

@mostlygeek

Copy link
Copy Markdown
Collaborator

Aperture will automatically redirect clients to the https://fqdn address when MagicDNS and HTTPS is enabled on a tailnet. This breaks aperture-cli's bridge mode as it is proxying through http://localhost:port. The special X-Aperture-No-Redirect header disables this behaviour.

updates: tailscale/aperture#2494

Aperture will automatically redirect clients to the https://fqdn address
when MagicDNS and HTTPS is enabled on a tailnet. This breaks
aperture-cli's bridge mode as it is proxying through
http://localhost:port. The special X-Aperture-No-Redirect header
disables this behaviour.

updates: tailscale/aperture#2494
Signed-off-by: Benson Wong <benson@tailscale.com>
@mostlygeek
mostlygeek force-pushed the mg/add-no-redirect-bridge branch from f23eab2 to 86cbbdd Compare November 5, 2026 22:55
@mostlygeek
mostlygeek requested a review from lkosewsk November 5, 2026 22:55
@mostlygeek mostlygeek self-assigned this Nov 5, 2026
@mostlygeek
mostlygeek merged commit 8a64ad3 into main Nov 5, 2026
5 checks passed
@mostlygeek
mostlygeek deleted the mg/add-no-redirect-bridge branch November 5, 2026 23:07
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.

2 participants