Add jellyseerr host

This commit is contained in:
fi 2024-01-14 00:22:58 +01:00
parent dfb7957217
commit 8effa34dce
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
6 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ config, ... }:
{
services.nginx = {
enable = true;
virtualHosts."jellyseerr.grzb.de" = {
forceSSL = true;
enableACME = true;
listen = [
{
addr = "0.0.0.0";
port = 80;
}
{
addr = "0.0.0.0";
port = 443;
ssl = true;
}
];
locations."/" = {
proxyPass = "http://localhost:${builtins.toString config.services.jellyseerr.port}";
};
};
};
}