diff --git a/nixos-modules/services/unifi.nix b/nixos-modules/services/unifi.nix index 2007f4dc..8c67f7b6 100644 --- a/nixos-modules/services/unifi.nix +++ b/nixos-modules/services/unifi.nix @@ -19,6 +19,7 @@ in forceSSL = true; useACMEHost = "${domain}"; locations."/".proxyPass = "https://127.0.0.1:8443"; + locations."/".proxyWebsockets = true; }; ragon.persist.extraDirectories = [ "/var/lib/unifi"