mirror of
https://github.com/fosrl/newt.git
synced 2026-07-11 13:40:01 -05:00
[PR #344] [MERGED] fix(http): Set host header based on in #5376
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/newt/pull/344
Author: @LaurenceJJones
Created: 5/8/2026
Status: ✅ Merged
Merged: 5/8/2026
Merged by: @oschwartz10612
Base:
dev← Head:investigate/private-http-redirect-500📝 Commits (1)
6aa94c0fix(http): Set host header based on in📊 Changes
1 file changed (+3 additions, -0 deletions)
View changed files
📝
netstack2/http_handler.go(+3 -0)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
fix https://github.com/fosrl/pangolin/issues/2952 issue by setting the incoming host header to the outgoing one by the reverse proxy, this was the default behaviour when using single proxy but now since we use more features it now rewrites the host header
How to test?
The downstream application should now receive the same host header that was sent by the client.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.