20 lines
368 B
Nix
20 lines
368 B
Nix
{ extraInfo, ... }:
|
|
{
|
|
services.jellyfin.enable = true;
|
|
services.nginx.virtualHosts.${extraInfo.jellyfinURI} = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
|
|
locations = {
|
|
"/" = {
|
|
proxyPass = "http://localhost:8096";
|
|
};
|
|
|
|
"/socket" = {
|
|
proxyPass = "http://localhost:8096";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
};
|
|
}
|