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; forceSSL = true;
enableACME = true; enableACME = true;
locations."/".proxyPass = locations."/" =
let let
inherit (config.services.owncast) port; inherit (config.services.owncast) port;
in in {
"http://127.0.0.1:${toString port}"; proxyPass = "http://127.0.0.1:${toString port}";
proxyWebsockets = true;
};
}; };
}; };
} }