From b3166d967f3bf6bb6ea03544bd112d1d205c84e8 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sun, 4 Jan 2026 20:57:27 +0100 Subject: [PATCH] proxy websockets --- nixosConfigurations/hetzner-vpn2/headscale.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixosConfigurations/hetzner-vpn2/headscale.nix b/nixosConfigurations/hetzner-vpn2/headscale.nix index 6a0cae2..43eda08 100644 --- a/nixosConfigurations/hetzner-vpn2/headscale.nix +++ b/nixosConfigurations/hetzner-vpn2/headscale.nix @@ -18,8 +18,9 @@ in nginx.virtualHosts."uplink.darkest.space" = { enableACME = true; forceSSL = true; - locations = { - "/".proxyPass = "http://localhost:${builtins.toString headscale-port}"; + locations."/" = { + proxyPass = "http://localhost:${builtins.toString headscale-port}"; + proxyWebsockets = true; }; }; };