owncast: enable proxyWebsockets
This commit is contained in:
parent
6120944b50
commit
3bdd61084b
|
@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user