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