fix: enable websockets in nginx for owncast
This commit is contained in:
parent
e28cedb274
commit
9898e35208
|
@ -8,8 +8,10 @@
|
||||||
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."/" = {
|
||||||
proxyWebsockets = true;
|
proxyPass = "http://127.0.0.1:5000";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Owncast
|
# Owncast
|
||||||
|
|
Loading…
Reference in a new issue