2024-03-01 22:15:55 +01:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
domain = "jelly.sondell.org";
|
|
|
|
# derp = "hi";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
#
|
|
|
|
services.jellyfin = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
services.nginx.virtualHosts.${domain} = {
|
2024-04-19 16:10:11 +02:00
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
2024-03-01 22:15:55 +01:00
|
|
|
locations."/" = {
|
|
|
|
proxyPass = "http://localhost:8096/";
|
|
|
|
proxyWebsockets = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|