NixOS-Config/modules/system/services/server/social/owncast/nginx/default.nix

12 lines
242 B
Nix

{ config, ... }:
{
services.nginx.virtualHosts."live.${config.secrets.jimDomain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8060";
proxyWebsockets = true;
};
};
}