hosts/frikandel: add jellyfin forward

This commit is contained in:
b12f 2024-09-06 17:38:06 +02:00
parent 451ed9928f
commit 048e6a6bb4
Signed by: b12f
GPG key ID: 729956E1124F8F26
4 changed files with 21 additions and 1 deletions

View file

@ -9,5 +9,6 @@
./wireguard.nix
./email.nix
./website.nix
./jellyfin-forward.nix
];
}

View file

@ -0,0 +1,17 @@
{
flake,
config,
pkgs,
lib,
...
}: {
security.acme.certs = {
"media.b12f.io" = {};
};
services.nginx.virtualHosts."media.b12f.io" = {
forceSSL = true;
useACMEHost = "media.b12f.io";
locations."/".proxyPass = "https://media.b12f.io";
};
}

View file

@ -8,6 +8,8 @@
networking.hostName = "frikandel";
networking.hostId = "44234773";
networking.nameservers = [
"10.13.12.7"
"fd00:b12f:acab:1312:acab:7::"
"193.110.81.0" #dns0.eu
"2a0f:fc80::" #dns0.eu
"185.253.5.0" #dns0.eu

View file

@ -176,6 +176,6 @@ resource "hostingde_record" "b12f-media" {
zone_id = hostingde_zone.b12f.id
name = "media.b12f.io"
type = "CNAME"
content = "droppie.b12f.io"
content = "frikandel.b12f.io"
ttl = 300
}