[PR #2848] [MERGED] [relay-server] Use X-Real-IP in case of reverse proxy #15700

Closed
opened 2026-08-05 03:08:15 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2848
Author: @pappz
Created: 11/6/2024
Status: Merged
Merged: 11/7/2024
Merged by: @mlsmaycon

Base: mainHead: relay/use-x-real-ip


📝 Commits (2)

📊 Changes

1 file changed (+10 additions, -2 deletions)

View changed files

📝 relay/server/listener/ws/listener.go (+10 -2)

📄 Description

Describe your changes

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)
  • Extended the README / documentation, if necessary

🔄 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/2848 **Author:** [@pappz](https://github.com/pappz) **Created:** 11/6/2024 **Status:** ✅ Merged **Merged:** 11/7/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `relay/use-x-real-ip` --- ### 📝 Commits (2) - [`d31ca9c`](https://github.com/netbirdio/netbird/commit/d31ca9c5375a3da763be7caeab1176ab668f2d56) Use X-Real-IP in case of reverse proxy - [`3635c0f`](https://github.com/netbirdio/netbird/commit/3635c0f93fd162982273f240fed54f017702f409) Use sprintf ### 📊 Changes **1 file changed** (+10 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `relay/server/listener/ws/listener.go` (+10 -2) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ### 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) - [ ] Extended the README / documentation, if necessary --- <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 03:08:15 -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#15700