From 1c13d0d3b85072637cd9d605a4c035fe56891e5d Mon Sep 17 00:00:00 2001 From: Philipp Hochkamp Date: Sat, 10 Sep 2022 01:02:18 +0200 Subject: [PATCH] unifi ws --- nixos-modules/services/unifi.nix | 1 + 1 file changed, 1 insertion(+) 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"