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 untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

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