owncast: enable proxyWebsockets

This commit is contained in:
Astro 2022-11-21 21:24:56 +01:00
parent 6120944b50
commit 3bdd61084b
1 changed files with 5 additions and 3 deletions

View File

@ -27,11 +27,13 @@
forceSSL = true;
enableACME = true;
locations."/".proxyPass =
locations."/" =
let
inherit (config.services.owncast) port;
in
"http://127.0.0.1:${toString port}";
in {
proxyPass = "http://127.0.0.1:${toString port}";
proxyWebsockets = true;
};
};
};
}