diff --git a/flake.nix b/flake.nix index 430d555..5964462 100644 --- a/flake.nix +++ b/flake.nix @@ -113,7 +113,10 @@ }; services.nginx.virtualHosts.${cfg.appDomain} = { - locations."/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; }; + locations."/" = { + proxyPass = "http://127.0.0.1:${toString cfg.port}"; + proxyWebsockets = true; + }; locations."= /" = { return = "301 /@ashe"; }; forceSSL = true; enableACME = true;