fix: enable websockets in nginx for owncast

This commit is contained in:
teutat3s 2023-10-29 23:04:11 +01:00
parent e28cedb274
commit 9898e35208
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -8,9 +8,11 @@
services.nginx.virtualHosts."stream.pub.solar" = { services.nginx.virtualHosts."stream.pub.solar" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations."/".proxyPass = "http://127.0.0.1:5000"; locations."/" = {
proxyPass = "http://127.0.0.1:5000";
proxyWebsockets = true; proxyWebsockets = true;
}; };
};
# Owncast # Owncast
services.owncast = { services.owncast = {