[PR #788] [MERGED] Warn when Headscale is running behind an improperly configured proxy #1649

Closed
opened 2025-12-29 02:31:04 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/788
Author: @juanfont
Created: 9/4/2022
Status: Merged
Merged: 9/4/2022
Merged by: @juanfont

Base: mainHead: warn-websockets-requirement


📝 Commits (4)

  • 2262188 Warn when Headscale is running behind a wrongly configured proxy
  • a377ee1 Minor message change
  • 5c59255 Also warn in DERP server if Websockets are not properly working
  • c28e559 Updated changelog

📊 Changes

3 files changed (+21 additions, -4 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 derp_server.go (+7 -4)
📝 noise.go (+13 -0)

📄 Description

TS2021 absolutely requires to have WebSockets proxified to Headscale if running it behind a reverse proxy.

Although we do not support reverse proxy-ed setups, giving a hint in the logs will result in less issues opened (like #775).


🔄 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/juanfont/headscale/pull/788 **Author:** [@juanfont](https://github.com/juanfont) **Created:** 9/4/2022 **Status:** ✅ Merged **Merged:** 9/4/2022 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `warn-websockets-requirement` --- ### 📝 Commits (4) - [`2262188`](https://github.com/juanfont/headscale/commit/2262188d8a97c977b34bc660761aeb76a68d1869) Warn when Headscale is running behind a wrongly configured proxy - [`a377ee1`](https://github.com/juanfont/headscale/commit/a377ee14b44fccecac8d8c0f8030643fb4fa5433) Minor message change - [`5c59255`](https://github.com/juanfont/headscale/commit/5c59255b41da566b37e32c1598b65e0612655618) Also warn in DERP server if Websockets are not properly working - [`c28e559`](https://github.com/juanfont/headscale/commit/c28e559da49fe44b83fa9535572f23727a8e7972) Updated changelog ### 📊 Changes **3 files changed** (+21 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `derp_server.go` (+7 -4) 📝 `noise.go` (+13 -0) </details> ### 📄 Description TS2021 absolutely requires to have WebSockets proxified to Headscale if running it behind a reverse proxy. Although we do not support reverse proxy-ed setups, giving a hint in the logs will result in less issues opened (like #775). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:31:04 +01:00
adam closed this issue 2025-12-29 02:31:04 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1649