forked from pub-solar/infra
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" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/".proxyPass = "http://127.0.0.1:5000";
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:5000";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Owncast
|
||||
services.owncast = {
|
||||
|
|
Loading…
Reference in a new issue