diff --git a/nixosConfigurations/hetzner-vpn2/headscale.nix b/nixosConfigurations/hetzner-vpn2/headscale.nix index 2af7cf5..c9ee855 100644 --- a/nixosConfigurations/hetzner-vpn2/headscale.nix +++ b/nixosConfigurations/hetzner-vpn2/headscale.nix @@ -19,8 +19,9 @@ in addSSL = true; enableACME = true; forceSSL = true; - locations = { - "/".proxyPass = "http://localhost:${builtins.toString headscale-port}"; + locations."/" = { + proxyPass = "http://localhost:${builtins.toString headscale-port}"; + proxyWebsockets = true; }; }; };