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; }; }; };