[PR #6086] [proxy] Allow http-only serving mode #24792

Open
opened 2026-08-05 06:09:08 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/6086
Author: @jackylamhk
Created: 5/5/2026
Status: 🔄 Open

Base: mainHead: feat/http-only-proxy


📝 Commits (2)

  • c740666 refactor(proxy): Rename s.http and s.https
  • 4eeb698 feat(proxy): Allow http-only serving mode

📊 Changes

4 files changed (+84 additions, -23 deletions)

View changed files

📝 proxy/README.md (+1 -0)
📝 proxy/cmd/proxy/cmd/root.go (+3 -0)
📝 proxy/log.go (+1 -0)
📝 proxy/server.go (+79 -23)

📄 Description

Describe your changes

Adds an opt-in-only, non-breaking HTTP-only serving mode that listens directly to plain HTTP traffic. Disables the main TLS/SNI router. Intended for deployments where an upstream reverse proxy/load balancer terminates the TLS connection and manages the (wildcard) certificate renewal; aligns proxy with the rest of the NetBird stack in listening to HTTP-only traffic.

#6085

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

Draft proposal; I can update the documentation if this PR is acceptable.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/6086 **Author:** [@jackylamhk](https://github.com/jackylamhk) **Created:** 5/5/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/http-only-proxy` --- ### 📝 Commits (2) - [`c740666`](https://github.com/netbirdio/netbird/commit/c740666ed160a52959e24893028dc7b09ae031bc) refactor(proxy): Rename s.http and s.https - [`4eeb698`](https://github.com/netbirdio/netbird/commit/4eeb69838e6eaa558a698508d7e5418fb0c7bf93) feat(proxy): Allow http-only serving mode ### 📊 Changes **4 files changed** (+84 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `proxy/README.md` (+1 -0) 📝 `proxy/cmd/proxy/cmd/root.go` (+3 -0) 📝 `proxy/log.go` (+1 -0) 📝 `proxy/server.go` (+79 -23) </details> ### 📄 Description ## Describe your changes Adds an opt-in-only, non-breaking HTTP-only serving mode that listens directly to plain HTTP traffic. Disables the main TLS/SNI router. Intended for deployments where an upstream reverse proxy/load balancer terminates the TLS connection and manages the (wildcard) certificate renewal; aligns proxy with the rest of the NetBird stack in listening to HTTP-only traffic. ## Issue ticket number and link #6085 ## Stack <!-- branch-stack --> ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [ ] Documentation is **not needed** for this change (explain why) ### Docs PR URL (required if "docs added" is checked) Draft proposal; I can update the documentation if this PR is acceptable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 06:09:08 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#24792