From 5a2c7aa559ff264d619e6e95d0f3daa80a5c2798 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 16 Apr 2024 01:51:38 +0000 Subject: [PATCH] backyard: update jellyfin vhost --- machine/backyard/jellyfin.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/machine/backyard/jellyfin.nix b/machine/backyard/jellyfin.nix index e5c4d1a..523b44f 100644 --- a/machine/backyard/jellyfin.nix +++ b/machine/backyard/jellyfin.nix @@ -13,13 +13,13 @@ default = true; locations."/".return = "444"; }; - "jellyfin" = { + "jellyfin.home.ktvb.site" = { listen = [ - # Available on the local network (host managed by router) - { addr = "jellyfin.backyard.lan"; port = 80; } - # Available by name on beatific (host managed by beatific module) - { addr = "jellyfin.backyard.home"; port = 80; } - # Available by port on beatific until I solve DNS for non-NixOS hosts + # The router should have a static lease for this IP and a host entry naming it + { addr = "192.168.1.236"; port = 80; } + # beatific module sends traffic over the vpn + { addr = "10.22.20.8"; port = 80; } + # Also available on an extra port in case of port 80 troubles { addr = "10.22.20.8"; port = 8096; } ]; locations."/".extraConfig = ''