fix: enable websockets in nginx for owncast
This commit is contained in:
parent
e28cedb274
commit
9898e35208
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue