infra/nixos/hosts/silver/services/shim-jellyfin.nix

16 lines
314 B
Nix

_: let
httpIntAddr = "10.13.1.1";
httpIntPort = 8096;
dom = "mov.min.rip";
in {
services.nginx.virtualHosts.${dom} = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://${toString httpIntAddr}:${toString httpIntPort}";
proxyWebsockets = true;
};
};
}