owncast: enable proxyWebsockets
This commit is contained in:
parent
6120944b50
commit
3bdd61084b
|
@ -27,11 +27,13 @@
|
|||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/".proxyPass =
|
||||
locations."/" =
|
||||
let
|
||||
inherit (config.services.owncast) port;
|
||||
in
|
||||
"http://127.0.0.1:${toString port}";
|
||||
in {
|
||||
proxyPass = "http://127.0.0.1:${toString port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue