From 4e67949e03e15e35d83ac9bb9cb766e35d122453 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 24 Nov 2025 14:07:09 +0100 Subject: [PATCH] fix: headscale web proxy --- systems/x86_64-linux/mx/headscale.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/systems/x86_64-linux/mx/headscale.nix b/systems/x86_64-linux/mx/headscale.nix index b7508df..e077db2 100644 --- a/systems/x86_64-linux/mx/headscale.nix +++ b/systems/x86_64-linux/mx/headscale.nix @@ -28,6 +28,10 @@ in locations."/" = { proxyPass = "http://localhost:${toString config.services.headscale.port}"; proxyWebsockets = true; + extraConfig = '' + proxy_redirect http:// https://; + proxy_buffering off; + ''; }; }; };